Handle FocusIn events for override redirect windows correctly
Do not try to insert / remove the window from the MRU list; just reset the MetaDisplay focus window to NULL. http://bugzilla.gnome.org/show_bug.cgi?id=590611
This commit is contained in:
parent
ff9400abde
commit
3eee6b4218
@ -5701,6 +5701,13 @@ meta_window_notify_focus (MetaWindow *window,
|
||||
|
||||
if (event->type == FocusIn)
|
||||
{
|
||||
if (window->override_redirect)
|
||||
{
|
||||
window->display->focus_window = NULL;
|
||||
g_object_notify (G_OBJECT (window->display), "focus-window");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (window != window->display->focus_window)
|
||||
{
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
|
Loading…
Reference in New Issue
Block a user