messageTray: Don't open the tray from a dwell if we're in a modal grab
If we're in an alt-tab popup or modal dialog, we shouldn't pop up the tray at all. https://bugzilla.gnome.org/show_bug.cgi?id=684458
This commit is contained in:
parent
7df7cd01eb
commit
a87ba467ae
@ -1561,6 +1561,9 @@ const MessageTray = new Lang.Class({
|
||||
},
|
||||
|
||||
_trayDwellTimeout: function() {
|
||||
if (Main.modalCount > 0)
|
||||
return false;
|
||||
|
||||
// If the user interacted with the focus window since we started the tray
|
||||
// dwell (by clicking or typing), don't activate the message tray
|
||||
let focusWindow = global.display.focus_window;
|
||||
|
Loading…
Reference in New Issue
Block a user