mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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=488468 Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=3378
This commit is contained in:

committed by
Federico Mena Quintero

parent
67ce5927e1
commit
7b690d6bc1
@ -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 &&
|
||||
|
Reference in New Issue
Block a user