2005-02-07 Elijah Newren * NEWS: Metacity 2.9.13 unstable release 2005-02-06 Elijah Newren Set a _METACITY_VERSION property (a utf8 string) on the WM check window. #165350. * src/display.h: (struct MetaDisplay): add a atom_metacity_version field * src/display.c: (meta_display_open): initialize the _METACITY_VERSION property on the WM check window to the current version of Metacity. 2005-02-06 Elijah Newren Ignore xconfigurerequest events for stacking when it should be safe to do so. Again, thanks to Crispin Flowerday for the test case. Thanks to KWin for the inspiration (and to Google for indexing their source code). Fixes the other half of #166395. * src/window.c: (meta_window_configure_request): if the active_window is from a separate application than the one getting the configure request and the net_wm_user_time of the active window is later than that of the window getting the configure request, then ignore the request. 2005-02-06 Elijah Newren If activation requests are too old, set the demands_attention hint instead of actually activating. Thanks to Crispin Flowerday for the test case and for testing the patch. Fixes half of #166395. * src/window.c: (meta_window_activate): if the request came before the last focus time, set the demands attention hint instead 2005-02-04 Dave Ahlswede * src/metacity.schemas.in: Add period to the end of reduced_resources' description. Fixes #165780. 2005-02-04 Elijah Newren Make sure window->border_only is initialized so we don't get random windows without decorations. Thanks to Sinisa Segvic and Owen Taylor for providing test cases. Fixes #145131. * src/window.c: (update_mwm_hints): Be sure to call recalc_window_features even if no MWM hints are set 2005-02-02 Elijah Newren Focus parents of dismissed transient windows in preference to the window that most recently had keyboard focus. Fixes #157360. * doc/how-to-get-focus-right.txt: Note the distinction between "most recently used window" and "most recent to have keyboard focus" that we are now making. * src/workspace.c: (focus_ancestor_or_mru_window): rename from meta_workspace_focus_mru_window, and first check whether we need to focus an ancestor window before looking for the mru window, (record_ancestor): helper function for focus_ancestor_or_mru_window, (meta_workspace_focus_default_window): update due to the function rename from meta_workspace_focus_mru_window to focus_ancestor_or_mru_window 2005-01-31 Elijah Newren Try 2 to correct misleading and inaccurate wording. Hopefully, really fixes #165380. * src/menu.c: Change wording of menu from "Always on Current Workspace" to "Always on Visible Workspace". "Always on Current Workspace" could sound like a synonym of "Only on This Workspace" when it was supposed to be the opposite. 2005-01-31 Elijah Newren Correct the stacking when return from fullscreen mode. Fixes #165718. * src/window.c: (meta_window_unmake_fullscreen): Update the layer after resizing the window 2005-01-31 Muktha src/themes/Atlanta/metacity-theme-1.xml: src/themes/Simple/metacity-theme-1.xml: src/themes/Bright/metacity-theme-1.xml: Make the unfocussed title bar distinguishable. Fixes #125291. 2005-01-28 Elijah Newren Patch from RHEL-3 (Havoc doesn't remember how it got there) that Havoc posted in bug 156511 to fix the problem with fullscreen windows on a different xinerama monitor not staying on top. I updated to HEAD. Should fix #156511. * src/stack.c: (windows_on_different_xinerama): new function, (get_standalone_layer): let windows on a different screen than the one with the focus window stay in the fullscreen layer 2005-01-28 Elijah Newren * src/metacity-dialog.c: (warn_about_no_sm_support): make this dialog be sticky. Fixes #164745. 2005-01-28 Elijah Newren Patch from Tim Herold to handle xcomposite pkgconfig version regression. Fixes #149368. * configure.in: Change XCOMPOSITE_VERSION from 1.0 to 0.2 2005-01-28 Elijah Newren Correct misleading and inaccurate wording. Fixes #165380. * src/menu.c: Change wording of menu to "Always on Current Workspace" from "Put on All Workspaces", remove a quick-key conflict between "On _Top" and "Only on _This Workspace" by switching the latter to "_Only on This Workspace" * src/window.c: Remove a comment that is no longer necessary (since bug 87531 has been fixed) 2005-01-28 Elijah Newren Take into account the appropriate list of windows when placing a new one. Fixes #165381. * src/place.c: (meta_window_place): use meta_window_showing_on_its_workspace(w) instead of !w->minimzed, also take into account sticky windows * src/window.[ch]: rename window_showing_on_its_workspace to meta_window_showing_on_its_workspace and export it 2005-01-27 Elijah Newren Plug a pair of leaks. Fixes #165378 * src/place.c: (meta_window_place, get_windows_on_same_workspace): free list returned by meta_display_list_windows. 2005-01-27 Elijah Newren Treat splashscreens same as other windows for stacking. Fixes #165243. * src/stack.h: (MetaStackLayer enum): remove META_LAYER_SPLASH from the list * src/stack.c: (get_standalone_layer): remove the special casing of META_WINDOW_SPLASHSCREEN 2005-01-27 Elijah Newren * src/window.c: (set_net_wm_state): shaded windows should not show up in pagers. Fixes #165377. 2005-01-26 Elijah Newren Stick and unstick transients with their parent automatically. Fixes #152283. * src/window.c: (window_stick_impl, window_unstick_impl): rename from meta_window_stick and meta_window_unstick respectively, (stick_foreach_func): a function to assist calling window_(un)stick_impl on each transient, (meta_window_stick, meta_window_unstick): new functions that call window_stick_impl or window_unstick_impl for the window and each of its transients. 2005-01-26 Elijah Newren Patch from John Paul Wallington to keep tooltip on screen horizontally for xinerama. Fixes #165261. * src/fixedtip.c: (meta_fixed_tip_show): rename screen_width and screen_height to screen_right_edge and screen_bottom_edge, set them using xinerama info instead of just screen geometry, and use them to determine where to place the tooltip window. 2005-01-26 Arvind Samptur Don't wireframe when accessibility is on, it apparently causes a desktop wide freeze. * src/prefs.[ch] (meta_prefs_init) (change_notify) (update_gnome_accessibility) (meta_preference_to_string) (meta_prefs_get_gnome_accessibility) : Add code to monitor accessibility status. * src/display.c (meta_display_begin_grab_op): Check accessibility status before going ahead with wireframe. Fixes #159538 2005-01-25 Elijah Newren * src/tabpopup.c: (meta_select_workspace_expose_event): ignore sticky windows for non-active workspaces. Fixes #165259. 2005-01-25 Elijah Newren * src/window.c: (meta_window_new_with_attrs): set the window state hints _after_ applying session information. Fixes #164677. 2005-01-25 Elijah Newren Add man pages for metacity-window-demo and metacity-theme-viewer. Man pages from Jose Moya, auto-fu from Dave Ahlswede. (#143513) * doc/man/metacity-theme-viewer.1: * doc/man/metacity-window-demo.1: New man pages * doc/man/Makefile.am: * doc/Makefile.am: * configure.in: Make sure to install the man pages * doc/man/.cvsignore: Silence cvs 2005-01-25 Benjamin Kahn New 48x48 default icon as specified in bug #160660 2005-01-25 Elijah Newren Patch from Stephane LOEUILLET in bug #151850. * src/metacity.desktop.in: specify encoding 2005-01-25 Balamurali Viswanathan * src/prefs.c (meta_prefs_init): Get gconf to load the terminal dir so that we get the notifications when the command is changed. Fixes bug #160934 2005-01-25 Elijah Newren Refuse to focus a window with a modal transient, and focus the transient instead. Fixes #164716. * src/window.c: (get_modal_transient): new function, (meta_window_focus): if the window has a modal transient, make sure it is on the current workspace and then focus it instead. 2005-01-24 Elijah Newren * configure.in: post-release version bump to 2.9.13