Be willing to unfocus the grab window when we are unmanaging it
When we are unmanaging the grab window, we /need/ to unfocus it, so we shouldn't bail out early from meta_window_focus(). https://bugzilla.gnome.org/show_bug.cgi?id=711618
This commit is contained in:
parent
732c059235
commit
a42305edab
@ -6291,7 +6291,8 @@ meta_window_focus (MetaWindow *window,
|
|||||||
window->desc, window->input, window->take_focus);
|
window->desc, window->input, window->take_focus);
|
||||||
|
|
||||||
if (window->display->grab_window &&
|
if (window->display->grab_window &&
|
||||||
window->display->grab_window->all_keys_grabbed)
|
window->display->grab_window->all_keys_grabbed &&
|
||||||
|
!window->display->grab_window->unmanaging)
|
||||||
{
|
{
|
||||||
meta_topic (META_DEBUG_FOCUS,
|
meta_topic (META_DEBUG_FOCUS,
|
||||||
"Current focus window %s has global keygrab, not focusing window %s after all\n",
|
"Current focus window %s has global keygrab, not focusing window %s after all\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user