1. 24 Jun, 2004 5 commits
    • 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
  2. 21 Jun, 2004 2 commits
  3. 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
  4. 16 Jun, 2004 2 commits
  5. 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
  6. 31 May, 2004 1 commit
  7. 05 May, 2004 1 commit
  8. 03 May, 2004 1 commit
  9. 30 Apr, 2004 1 commit
  10. 23 Apr, 2004 1 commit
  11. 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
  12. 16 Apr, 2004 3 commits
  13. 14 Apr, 2004 1 commit
  14. 11 Apr, 2004 1 commit
  15. 09 Apr, 2004 1 commit
  16. 06 Apr, 2004 1 commit
  17. 02 Apr, 2004 1 commit
  18. 29 Mar, 2004 1 commit
  19. 27 Mar, 2004 2 commits
  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. 20 Mar, 2004 2 commits
  23. 19 Mar, 2004 1 commit
  24. 18 Mar, 2004 1 commit
  25. 17 Mar, 2004 1 commit
  26. 16 Mar, 2004 1 commit
  27. 15 Mar, 2004 1 commit
  28. 14 Mar, 2004 2 commits
  29. 13 Mar, 2004 1 commit