Commit 7b690d6b authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

Fix swapped arguments when updating _NET_WM_USER_TIME

2007-11-09  Federico Mena Quintero  <federico@novell.com>

	* src/window.c (intervening_user_event_occurred): When the window
	doesn't have a user time nor an initial timestamp set, act as if
	there always was an intervening user event.  This causes
	un-timestamped windows to *not* get the focus.  Fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=488468Signed-off-by: default avatarFederico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=3378
parent 67ce5927
2007-11-09 Federico Mena Quintero <federico@novell.com>
* src/window.c (intervening_user_event_occurred): When the window
doesn't have a user time nor an initial timestamp set, act as if
there always was an intervening user event. This causes
un-timestamped windows to *not* get the focus. Fixes
http://bugzilla.gnome.org/show_bug.cgi?id=488468
2007-11-07 Federico Mena Quintero <federico@novell.com>
* src/window-props.c (reload_net_wm_user_time_window): Fix typo;
the arguments to meta_window_reload_property_from_xwindow() were
reversed. This is why the wm_user_time wasn't getting initialized
properly from the _NET_WM_USER_TIME_WINDOW. Fixes part of
http://bugzilla.gnome.org/show_bug.cgi?id=488468
2007-11-06 Peter Bloomfield <pbloomfield@bellsouth.net>
* src/window.c (meta_window_move_resize_internal): save
......
......@@ -278,8 +278,8 @@ reload_net_wm_user_time_window (MetaWindow *window,
*/
meta_window_reload_property_from_xwindow (
window,
window->display->atom_net_wm_user_time,
window->user_time_window);
window->user_time_window,
window->display->atom_net_wm_user_time);
}
}
}
......
......@@ -1789,7 +1789,7 @@ intervening_user_event_occurred (MetaWindow *window)
meta_topic (META_DEBUG_STARTUP,
"no information about window %s found\n",
window->desc);
return FALSE;
return TRUE;
}
if (focus_window != NULL &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment