gdk: Ensure to implicitly deactivate grabs when an impl window is hidden
For some reason this wasn't done on windows with an impl, but it totally should. Probably hidden by grabs in menus and somesuch being done on a child window.
This commit is contained in:
@@ -3879,6 +3879,9 @@ gdk_window_hide (GdkWindow *window)
|
||||
GDK_WINDOW_STATE_WITHDRAWN);
|
||||
}
|
||||
else if (was_mapped)
|
||||
window->state = GDK_WINDOW_STATE_WITHDRAWN;
|
||||
|
||||
if (was_mapped)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
GdkSeat *seat;
|
||||
@@ -3908,7 +3911,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
}
|
||||
}
|
||||
|
||||
window->state = GDK_WINDOW_STATE_WITHDRAWN;
|
||||
g_list_free (devices);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user