1. 21 Feb, 2005 3 commits
  2. 20 Feb, 2005 6 commits
    • Elijah Newren's avatar
      Handle _NET_CURRENT_DESKTOP messages that come with timestamps. Fixes the · 992f2370
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	* src/display.c: (event_callback): Handle _NET_CURRENT_DESKTOP
      	messages that come with timestamps.  Fixes the metacity portion of
      	#161361 other than the portion handled by #128380.
      992f2370
    • Elijah Newren's avatar
      when receiving a _NET_ACTIVE_WINDOW message, switch to the desktop where · 8de466b5
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	* src/window.c: (meta_window_activate): when receiving a
      	_NET_ACTIVE_WINDOW message, switch to the desktop where the window
      	is located before activating instead of moving the window to the
      	current desktop.  Thanks to Lubos Lunak for catching this issue.
      	Fixes #128380.
      8de466b5
    • Elijah Newren's avatar
      Ignore all focus and focus-stealing-prevention code in meta_window_show · 79f2b916
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	* src/window.c (meta_window_show): Ignore all focus and
      	focus-stealing-prevention code in meta_window_show when not
      	showing the window for the first time.  Fixes #167199.
      79f2b916
    • Elijah Newren's avatar
      Fix an obscure xinerama placement bug with windows that are too large to · b93960ac
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	Fix an obscure xinerama placement bug with windows that are too
      	large to fit in the workarea in both dimensions.  #166757
      
      	* src/place.c: (meta_window_place): use the current xinerama
      	instead of arbitrarily resetting to 0
      b93960ac
    • Elijah Newren's avatar
      Patch from Joe Marcus Clarke to fix a possible crash on logout. #167935. · 1f0fd137
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	Patch from Joe Marcus Clarke to fix a possible crash on logout.
      	#167935.  Thanks for fixing my mistakes, Joe!
      
      	* src/display.c: (meta_display_open): initialize
      	display->grab_old_window_stacking to NULL.
      1f0fd137
    • Elijah Newren's avatar
      Big patch to cover about 6 different issues in order to correct rare · 50312dd0
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	Big patch to cover about 6 different issues in order to correct
      	rare problems with timestamps (make sure window selected in
      	tasklist actually gets focus, sanity check timestamps to avoid
      	rogue apps hosing the system, correct the updating of
      	net_wm_user_time, correctly handle timestamps of 0 when comparing
      	xserver timestamps for those who have had their systems up for
      	over 25 days or so, add some debugging information to verbose
      	logs, some code cleanups).  Fixes all issues listed in #167358.
      
      	* src/display.h: (struct _MetaDisplay): clarify comment on
      	last_focus_time, introduce a new variable--last_user_time,
      	(XSERVER_TIME_IS_BEFORE macro): put this functionality into a
      	separate macro and then introduce a new macro with this name that
      	uses the old one but adds additional special-case checks for
      	timestamps that are 0, (comment to
      	meta_display_set_input_focus_window): add information about how
      	last_user_time should be used in this function
      
      	* src/display.c (santiy_check_timestamps): new function,
      	(meta_display_open): intialize display->last_user_time,
      	(meta_display_get_current_time_roundtrip): use the timestamp,
      	which is known to be good, in order to sanity_check_timestamps,
      	(event_callback): use the new meta_window_ste_user_time() function
      	in order to correct problems, use the timestamp of KeyPress and
      	ButtonPress events, which are known to be good, in order to
      	sanity_check_timestamps, (timestamp_too_old): new function for
      	common behavior of meta_display_focus_the_no_focus_window and
      	meta_display_set_input_focus_window, with added checking for
      	display->last_user_time in addition to display->last_focus_time,
      	(meta_display_set_input_focus_window): replace some of the code
      	with a call to timestamp_too_old(),
      	(meta_display_focus_the_no_focus_window): replace some of th ecode
      	with a call to timestamp_too_old()
      
      	* src/window.h: (meta_window_set_user_time): new function to
      	abstract the many things that need to be done when updating the
      	net_wm_user_time of any window
      
      	* src/window.c: (meta_window_activate): add debugging spew, make
      	sure the comparison is made with last_user_time NOT
      	last_focus_time, use meta_window_set_user_time() function in order
      	to correct problems, (meta_window_client_message): add a newline
      	to a debugging message to make them easier to read,
      	(meta_window_set_user_time): new function
      
      	* src/window-props.c (reload_net_wm_user_time): use the new
      	meta_window_ste_user_time() function in order to correct problems
      50312dd0
  3. 18 Feb, 2005 2 commits
  4. 17 Feb, 2005 2 commits
  5. 16 Feb, 2005 2 commits
  6. 15 Feb, 2005 2 commits
  7. 12 Feb, 2005 4 commits
    • Marcel Telka's avatar
      Updated Slovak translation. · 3fb2eb08
      Marcel Telka authored
      2005-02-12  Marcel Telka  <marcel@telka.sk>
      
      	* sk.po: Updated Slovak translation.
      3fb2eb08
    • Takeshi AIHANA's avatar
      Updated Japanese translation for v2.9.13. · c729adfc
      Takeshi AIHANA authored
      2005-02-12  Takeshi AIHANA <aihana@gnome.gr.jp>
      	* ja.po: Updated Japanese translation for v2.9.13.
      c729adfc
    • Elijah Newren's avatar
      Raise the ancestor of a window instead of the window itself. Fixes · 0488efc8
      Elijah Newren authored
      2005-02-12  Elijah Newren  <newren@gmail.com>
      
      	Raise the ancestor of a window instead of the window itself.
      	Fixes #166894.
      
      	* src/window.c: (find_root_ancestor): new function,
      	(meta_window_raise): get the ancestor of the given window and
      	raise it if possible instead of the window
      0488efc8
    • Elijah Newren's avatar
      Don't unconditionally place splashscreens (and other not-to-befocused · 9fa5c1d4
      Elijah Newren authored
      2005-02-12  Elijah Newren  <newren@gmail.com>
      
      	Don't unconditionally place splashscreens (and other
      	not-to-befocused windows) below the focus window.  Fixes #167042.
      
      	* src/window.c: (intervening_user_event_occurred): new function
      	taken from the timestamp comparison portion of the old
      	window_takes_focus_on_map function, (window_state_on_map): new
      	function with remainder of old window_takes_focus_on_map function
      	that determines both whether the window will take focus and
      	whether it should be placed on top, (meta_window_show): use
      	place_on_top_on_map to determine window stacking instead of trying
      	to infer it from takes_focus_on_map
      9fa5c1d4
  8. 11 Feb, 2005 2 commits
    • Elijah Newren's avatar
      Avoid new windows being obscured by the focus window (and thus possibly · d31a0829
      Elijah Newren authored
      2005-02-11  Elijah Newren  <newren@gmail.com>
      
      	Avoid new windows being obscured by the focus window (and thus
      	possibly lost).  Fixes #166524.
      
      	* src/place.c: new MetaWindowDirection enum,
      	(find_most_freespace): new function to find where there is the
      	most space available around the focused window,
      	(meta_window_place): if a window is denied focus and the window
      	overlaps the focused window, retry the first-fit algorithm only
      	paying attention to the focus window position and if that fails
      	just find the location on the screen with the most space
      	available.
      
      	* src/window.h: (struct MetaWindow): new
      	denied_focus_and_not_transient bitfield
      
      	* src/window.c: (meta_window_new_with_attrs): initialize
      	denied_focus_and_not_transient, (meta_window_show): set and unset
      	the denied_focus_and_not_transient field appropriately
      d31a0829
    • Kostas Papadimas's avatar
      Updated Greek Translation. · f8c41ca0
      Kostas Papadimas authored
      f8c41ca0
  9. 10 Feb, 2005 1 commit
  10. 09 Feb, 2005 3 commits
    • Aidan Delaney's avatar
      Removed useless function call. #166730 · f7aad0d6
      Aidan Delaney authored
      2005-02-08  Aidan Delaney  <adelaney@cs.may.ie>
      
      	Removed useless function call.  #166730
      
      	* src/tabpopup.c: (outline_window_expose): Removed unused
      	references to variables and an unnecessary function call to
      	gdk_window_get_size().
      f7aad0d6
    • Elijah Newren's avatar
      Avoid using CurrentTime when focusing, handle it better in case we miss · fe1416c6
      Elijah Newren authored
      2005-02-08  Elijah Newren  <newren@gmail.com>
      
      	Avoid using CurrentTime when focusing, handle it better in case we
      	miss any cases.  Fixes #166732.
      
      	* src/window.c: (meta_window_shade): use
      	meta_display_get_current_time_roundtrip() to ensure we have a
      	valid timestamp, (meta_window_unshade): same
      
      	* src/display.c: (meta_display_set_input_focus_window): If
      	CurrentTime was passed, get one from the XServer in addition to
      	throwing a warning, (meta_display_focus_the_no_focus_window): same
      fe1416c6
    • Elijah Newren's avatar
      If we're not passed a timestamp, make sure to manually get one. Fixes · 454e595e
      Elijah Newren authored
      2005-02-08  Elijah Newren  <newren@gmail.com>
      
      	* src/window.c: (meta_window_activate): If we're not passed a
      	timestamp, make sure to manually get one.  Fixes #166728.
      454e595e
  11. 08 Feb, 2005 2 commits
  12. 07 Feb, 2005 4 commits
  13. 06 Feb, 2005 7 commits