messageTray: Don't open by pressure when we have a full-screen window open
When we have a full-screen window open, we expect the app to get all of the chrome, so we should disable the bottom barrier as well. https://bugzilla.gnome.org/show_bug.cgi?id=694997
This commit is contained in:
@ -432,6 +432,9 @@ const LayoutManager = new Lang.Class({
|
||||
Shell.KeyBindingMode.OVERVIEW);
|
||||
this._trayPressure.setEventFilter(this._trayBarrierEventFilter);
|
||||
this._trayPressure.connect('trigger', function(barrier) {
|
||||
if (Main.layoutManager.bottomMonitor.inFullscreen)
|
||||
return;
|
||||
|
||||
Main.messageTray.openTray();
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user