[gnome-shell] messageTray: Do not block hot corner when open
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Do not block hot corner when open
- Date: Sun, 16 Sep 2012 17:54:49 +0000 (UTC)
commit 38f943ef81781210a7b680ecd58b75cb9007635a
Author: Florian MÃllner <fmuellner gnome org>
Date: Sat Sep 15 18:49:41 2012 +0200
messageTray: Do not block hot corner when open
https://bugzilla.gnome.org/show_bug.cgi?id=682255
js/ui/messageTray.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index f91a010..cfbf011 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1443,6 +1443,7 @@ const MessageTray = new Lang.Class({
this._grabHelper = new GrabHelper.GrabHelper(this.actor);
this._grabHelper.addActor(this._summaryBoxPointer.actor);
this._grabHelper.addActor(this.actor);
+ this._grabHelper.addActor(Main.panel.statusArea['activities'].hotCorner.actor);
Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));
@@ -1485,6 +1486,7 @@ const MessageTray = new Lang.Class({
Main.overview.connect('showing', Lang.bind(this,
function() {
this._overviewVisible = true;
+ this._grabHelper.ungrab(); // drop modal grab if necessary
this.actor.add_style_pseudo_class('overview');
this._updateState();
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]