mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05: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:
parent
67ce5927e1
commit
7b690d6bc1
16
ChangeLog
16
ChangeLog
@ -1,3 +1,19 @@
|
|||||||
|
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>
|
2007-11-06 Peter Bloomfield <pbloomfield@bellsouth.net>
|
||||||
|
|
||||||
* src/window.c (meta_window_move_resize_internal): save
|
* 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 (
|
meta_window_reload_property_from_xwindow (
|
||||||
window,
|
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,
|
meta_topic (META_DEBUG_STARTUP,
|
||||||
"no information about window %s found\n",
|
"no information about window %s found\n",
|
||||||
window->desc);
|
window->desc);
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (focus_window != NULL &&
|
if (focus_window != NULL &&
|
||||||
|
Loading…
Reference in New Issue
Block a user