1. 05 Aug, 2004 2 commits
  2. 03 Aug, 2004 1 commit
    • Elijah Newren's avatar
      Released 2.8.2 · 646521fc
      Elijah Newren authored
      2004-08-03  Elijah Newren  <newren@math.utah.edu>
      
      	Released 2.8.2
      
      	* NEWS, README: update
      646521fc
  3. 02 Aug, 2004 1 commit
    • Elijah Newren's avatar
      Fix some bugs (reported in #120100) regarding the focus window when using · cd09a27a
      Elijah Newren authored
      2004-08-02  Elijah Newren  <newren@math.utah.edu>
      
      	Fix some bugs (reported in #120100) regarding the focus window
      	when using the workspace switcher.
      
      	* src/display.c (event_callback): When switching workspaces due to
      	a _NET_CURRENT_DESKTOP message, make sure to focus the default
      	window as well.
      
      	* src/workspace.c (meta_workspace_focus_default_window,
      	meta_workspace_focus_mru_window): Make DOCK or DESKTOP windows
      	have lower priority than others when choosing a window to focus.
      	(For the former function, this means don't focus them at all; for
      	the latter, this means only focus them (via the
      	meta_workspace_focus_top_window call) if no other mru window can
      	be found.)
      cd09a27a
  4. 31 Jul, 2004 2 commits
    • Rob Adams's avatar
      Fix bug that caused windows to not be focused on unminimizing because of · 12f4f7c6
      Rob Adams authored
      2004-07-31  Rob Adams  <readams@readams.net>
      
      	Fix bug that caused windows to not be focused on unminimizing
      	because of user time support.
      
      	* src/window.c (meta_window_new_with_attrs): initialize
      	focus_despite_user_time bit
      	(window_takes_focus_on_map): focus if focus_despite_user_time
      	despite user time, interestingly enough
      	(meta_window_show): reset focus_despite_user_time after showing
      
      	* src/window.h (_MetaWindow): add focus_despite_user_time bit
      12f4f7c6
    • Rob Adams's avatar
      Fix some support for EWMH hints, and fix USER_TIME support to include the · e60da6c0
      Rob Adams authored
      2004-07-31  Rob Adams  <readams@readams.net>
      
      	Fix some support for EWMH hints, and fix USER_TIME support to
      	include the DEMANDS_ATTENTION hint.  Also includes some code for
      	implementing _NET_RESTACK_WINDOW and _NET_MOVERESIZE_WINDOW, but
      	this is disabled pending feature thaw.
      
      	* COMPLIANCE: update with new information
      
      	* src/display.c (meta_display_open): add new hints to list
      
      	* src/display.h (_MetaDisplay): Add new atoms to struct
      
      	* src/screen.c (set_supported_hint): update the list of support
      	hints.
      	(set_desktop_viewport_hint): new function sets the viewport hint
      	to (0,0) as required by the spec for WMs with no viewport support.
      	(set_desktop_geometry_hint): new function to set the desktop size
      	hint to the size of the display, since we don't implement large
      	desktop support, as required by the spec.
      	(meta_screen_resize): update the geometry hint on screen resize
      
      	* src/window.c (meta_window_new_with_attrs): Initialize
      	demands_attention state
      	(set_net_wm_state): Set demands_attention hint in the window state
      	(meta_window_show): If we don't pop up a window because of
      	USER_TIME, set DEMANDS_ATTENTION on the window.
      	(meta_window_focus): When a window receives focus, remove
      	DEMANDS_ATTENTION hint
      	(meta_window_client_message): Allow other apps to set
      	DEMANDS_ATTENTION on a window.  Also, if the _NET_ACTIVE_WINDOW
      	hint includes a timestamp, use it.
      	(update_net_wm_state): Read DEMANDS_ATTENTION state also
      
      	* src/window.h (_MetaWindow): add wm_state_demands_attention bit.
      e60da6c0
  5. 22 Jul, 2004 1 commit
  6. 01 Jul, 2004 1 commit
  7. 24 Jun, 2004 7 commits
    • Rob Adams's avatar
      indicate that _NET_WM_USER_TIME is now supported · 25c4bb14
      Rob Adams authored
      2004-06-25  Rob Adams  <readams@readams.net>
      
      	* COMPLIANCE: indicate that _NET_WM_USER_TIME is now supported
      25c4bb14
    • Elijah Newren's avatar
      Choose correct window to focus when "un-showing" the desktop. Fixes · d0d0925e
      Elijah Newren authored
      2004-06-24  Elijah Newren  <newren@math.utah.edu>
      
      	* src/keybindings.c: (handle_toggle_desktop): Choose correct
      	window to focus when "un-showing" the desktop.  Fixes #144900.
      d0d0925e
    • Elijah Newren's avatar
      Make choice of focus window be consistent for each focus mode. Fixes · 9d1d8fa0
      Elijah Newren authored
      2004-06-24  Elijah Newren  <newren@math.utah.edu>
      
      	Make choice of focus window be consistent for each focus mode.
      	Fixes #135810.
      
      	* src/delete.c: (meta_window_delete): In some #if 0'ed code,
      	replace meta_workspace_focus_mru_window with
      	meta_workspace_focus_default_window (just in case the code becomes
      	un-#if 0'ed out).
      
      	* src/screen.c, src/screen.h: Change
      	meta_screen_focus_mouse_window to meta_screen_get_mouse_window,
      	and don't focus the window when found but rather return it.
      
      	* src/window.c: (meta_window_free, meta_window_minimize): replace
      	meta_workspace_focus_mru_window with
      	meta_workspace_focus_default_window.
      
      	* src/workspace.c: (meta_workspace_focus_default_window): Focus
      	appropriately for the given focus method:
      	   click-to-focus: focus MRU window (== toplevel window)
      	   sloppy focus:   focus the window under the pointer if there is
      	                   such a window, otherwise focus the mru window
      	   mouse focus:    focus the window under the pointer if there is
      	                   such a window, otherwise don't focus anything
      9d1d8fa0
    • Elijah Newren's avatar
      Avoid a race condition on the choice of window to focus after the · 702a4c0d
      Elijah Newren authored
      2004-06-24  Elijah Newren  <newren@math.utah.edu>
      
      	* src/window.c: Avoid a race condition on the choice of window to
      	focus after the previously focused window gets closed or
      	minimized.  Fixes #131582.
      702a4c0d
    • Elijah Newren's avatar
      make naming for "move a window"/"move the window"/"move window" more · fe341bb9
      Elijah Newren authored
      2004-06-24  Elijah Newren  <newren@math.utah.edu>
      
      	* src/metacity.schemas.in: make naming for "move a window"/"move
      	the window"/"move window" more consistent.  Patch from Michael
      	Terry for #142235.
      fe341bb9
    • Elijah Newren's avatar
      Change meta_warning to meta_topic on failure to connect to a session · 8131988b
      Elijah Newren authored
      2004-06-24  Elijah Newren  <newren@math.utah.edu>
      
      	* src/session.c: Change meta_warning to meta_topic on failure to
      	connect to a session manager.  Fixes #136218.
      8131988b
    • Elijah Newren's avatar
      Add support for _NET_WM_USER_TIME · 28a54c6b
      Elijah Newren authored
      2004-06-17  Elijah Newren  <newren@math.utah.edu>
      
      	Add support for _NET_WM_USER_TIME
      
      	* src/display.c:
      	(meta_display_open): Add _NET_WM_USER_TIME to atom_names[],
      	(event_callback): Manually set _NET_WM_USER_TIME upon KeyPress
      	(doesn't work since keyboard isn't grabbed) and ButtonPress (does
      	work), this is just a fallback for applications that don't update
      	this themselves.
      
      	* src/display.h: (struct _MetaDisplay): Add atom_net_wm_user_time field
      
      	* src/screen.c: (meta_screen_apply_startup_properties): Check for
      	TIMESTAMP provided from startup sequence as well.
      
      	* src/stack.c:
      	s/meta_window_set_stack_position/meta_window_set_stack_position_no_sync/,
      	(meta_window_set_stack_position): New function which calls the
      	meta_window_set_stack_position_no_sync function followed immediately
      	by calling meta_stack_sync_to_server.
      
      	* src/window-props.c:
      	(init_net_wm_user_time), (reload_net_wm_user_time): new functions,
      	(reload_wm_hints): also load atom_net_wm_user_time
      
      	* src/window.c:
      	new XSERVER_TIME_IS_LATER macro (accounts for timestamp wraparound),
      	(meta_window_new_with_attrs): add timestamp attributes,
      	(window_takes_focus_on_map): use TIMESTAMP from startup
      	notification and _NET_WM_USER_TIME to decide whether to focus new
      	windows,
      	(meta_window_show): if app doesn't take focus on map, place it
      	just below the focused window in the stack
      	(process_property_notify): check for changes to _NET_WM_USRE_TIME,
      	(meta_window_stack_just_below): new function
      
      	* src/window.h:
      	(_MetaWindow struct): new fields for initial_timestamp,
      	initial_timestamp_set, net_wm_user_time_set, and net_wm_user_time,
      	(meta_window_stack_just_below): new function
      28a54c6b
  8. 21 Jun, 2004 2 commits
  9. 19 Jun, 2004 1 commit
    • Soeren Sandmann's avatar
      Fix bug 143333, support for update counter spec, and 109362, schedule · 4cfb5152
      Soeren Sandmann authored
      Sat Jun 19 02:21:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Fix bug 143333, support for update counter spec, and 109362,
      	schedule compensation events when events are ignored.
      
      	* src/display.c (meta_display_open): Add _NET_WM_SYNC_REQUEST and
      	_NET_WM_SYNC_REQUEST_COUNTER atoms. Remove the old
      	METACITY_SYNC_COUNTER stuff.
      	(meta_display_begin_op): Setup the sync counter
      
      	* src/xprops.c, src/xprops.h, src/window-props.c, src/display.h:
      	Add new atoms.
      
      	* src/window.c (send_sync_request): new function.
      	(meta_window_move_resize_internal): send a sync request before
      	resizing.
      	(check_move_resize_frequence): Rework logic to also check the SYNC
      	case. If an event is ignored return the remaining time.
      	(update_resize_timeout): Timeout that gets called when a
      	compensation event is scheduled.
      	(uddate_resize): schedule compensation events when an event is
      	ignored.
      	(meta_window_handle_mouse_grap_op_event): When an alarm is
      	received and sync was turned off, turn it back on.
      
      	* src/window.h (struct MetaWindow)  Add some variables
      4cfb5152
  10. 16 Jun, 2004 1 commit
  11. 04 Jun, 2004 1 commit
    • Jeff Waugh's avatar
      Set titlebar_uses_system_font = false. The previous default was almost · 9170f58f
      Jeff Waugh authored
      
      2004-06-04  Jeff Waugh  <jdub@perkypants.org>
      
      	* src/metacity.schemas.in: Set titlebar_uses_system_font = false. The
      	previous default was almost violent in its lack of appreciation for
      	human beings. In fact, this entire setting should probably be removed, but
      	for now, let's just fix the default. Permission granted by Havoc.
      9170f58f
  12. 05 May, 2004 1 commit
  13. 03 May, 2004 1 commit
  14. 30 Apr, 2004 1 commit
  15. 19 Apr, 2004 1 commit
    • Mark McLoughlin's avatar
      Syncing across this change from libwnck. Patch from Neil Muller · 5c017988
      Mark McLoughlin authored
      2004-04-19  Mark McLoughlin  <mark@skynet.ie>
      
              Syncing across this change from libwnck.
              Patch from Neil Muller <neil@dip.sun.ac.za> in bug #133979.
      
              * src/iconcache.c: (find_largest_sizes), (find_best_size):
              Don't down-size nitems from a gulong to an int. Fixes a
              crash with enlightenment, apparently.
      5c017988
  16. 16 Apr, 2004 2 commits
  17. 11 Apr, 2004 1 commit
  18. 09 Apr, 2004 1 commit
  19. 27 Mar, 2004 1 commit
  20. 24 Mar, 2004 1 commit
  21. 21 Mar, 2004 1 commit
    • Havoc Pennington's avatar
      2.8.0 · 43ede259
      Havoc Pennington authored
      2004-03-21  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: 2.8.0
      
      	* NEWS: update
      43ede259
  22. 08 Mar, 2004 1 commit
  23. 07 Mar, 2004 1 commit
    • Havoc Pennington's avatar
      2.7.1 · 91c8674a
      Havoc Pennington authored
      2004-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: 2.7.1
      91c8674a
  24. 05 Mar, 2004 1 commit
  25. 02 Mar, 2004 1 commit
    • Rob Adams's avatar
      don't promote due to transiency; we handle that elsewhere now. · f3cc59c7
      Rob Adams authored
      2004-03-01  Rob Adams  <readams@readams.net>
      
      	* src/stack.c (compute_layer): don't promote due to transiency; we
      	handle that elsewhere now.
      	(ensure_above): perform layer promotion here as well as stack
      	position promotion.  Note that this means that we need to do stack
      	constraints now on layer change now.
      	(get_maximum_layer_of_ancestor): remove function
      	(max_layer_func): remove function
      	(MaxLayerData): remove struct
      f3cc59c7
  26. 28 Feb, 2004 4 commits
    • Rob Adams's avatar
      Revert 2/27 patch for layer promotion. · 56609cbb
      Rob Adams authored
      2004-02-28  Rob Adams  <readams@readams.net>
      
      	Revert 2/27 patch for layer promotion.
      56609cbb
    • Rob Adams's avatar
      only move on MRU list if the window belongs on the workspace, since the · 16a8add6
      Rob Adams authored
      2004-02-27  Rob Adams  <readams@readams.net>
      
      	* src/window.c (meta_window_notify_focus): only move on MRU list
      	if the window belongs on the workspace, since the FocusIn event
      	could be for a window whose workspace we've since switched away
      	from.  Possible fix for #122016.
      
      	* src/workspace.c (meta_workspace_contains_window): search for the
      	workspace in window->workspaces rather than the window in
      	workspace->windows.  Since the number of workspaces is at most 36,
      	this is a O(1) lookup rather than a O(n) lookup.  Sorry; couldn't
      	resist.
      16a8add6
    • Rob Adams's avatar
      Change move_to_workspace_left/right/up/down keybindings to · 036a61d1
      Rob Adams authored
      2004-02-27  Rob Adams  <readams@readams.net>
      
      	* src/metacity.schemas.in: Change
      	move_to_workspace_left/right/up/down keybindings to
      	<Control><Alt><Shift> arrow to avoid conflicting with new
      	keybindings in spacial nautilus.
      036a61d1
    • Rob Adams's avatar
      Handle layer promotion of transient descendants of layer-promoted windows · 9739346c
      Rob Adams authored
      2004-02-27  Rob Adams  <readams@readams.net>
      
      	Handle layer promotion of transient descendants of layer-promoted
      	windows to also be layer promoted, using a simple iterative
      	algorithm.
      
      	* src/stack.c (compute_layer): change name to promote_layer, and
      	convert to simply perform any necessary layer promotion without
      	computing the standalone layer.
      	(max_layer_func): use window->layer instead of
      	get_standalone_layer
      	(get_maximum_layer_of_ancestor): use window->layer instead of
      	get_standalone_layer
      	(meta_stack_ensure_sorted): implement iterative algorithm,
      	explained in a long comment.
      
      	* src/window.h: add a tmp_layer field used by stack.c for
      	determining if the stack is dirty or not, since maintaining this
      	information in meta_stack_ensure_sorted is no longer practical.
      9739346c
  27. 23 Feb, 2004 1 commit
    • Rob Adams's avatar
      Add my copyright notice to a number of files on which it should already · db108c1f
      Rob Adams authored
      2004-02-23  Rob Adams  <readams@readams.net>
      
      	Add my copyright notice to a number of files on which it should
      	already exist.
      
      	* src/window.c (meta_window_notify_focus): modify code to move to
      	front of MRU list so that we can have an assert that it was there
      	in the first place.  This code may be causing some crashes.  See
      	#131196.
      db108c1f