layout: Don't update the input region while we have a modal
If we have a modal, the stage's input region doesn't really matter -- all events go to us anyway. To avoid doing extra work doing animations when we have a modal, like menus, the overview, and the message tray, just fizzle out all updates. To make sure we catch updates, update the input region whenever we end a modal. https://bugzilla.gnome.org/show_bug.cgi?id=737001
This commit is contained in:
@@ -454,6 +454,7 @@ function popModal(actor, timestamp) {
|
||||
if (modalCount > 0)
|
||||
return;
|
||||
|
||||
layoutManager.modalEnded();
|
||||
global.end_modal(timestamp);
|
||||
Meta.enable_unredirect_for_screen(global.screen);
|
||||
keybindingMode = Shell.KeyBindingMode.NORMAL;
|
||||
|
Reference in New Issue
Block a user