[gnome-shell] panel: Don't try to begin a grab op while something else has taken a grab
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] panel: Don't try to begin a grab op while something else has taken a grab
- Date: Wed, 20 Feb 2013 16:36:36 +0000 (UTC)
commit 3db253998b18b13cf84f637d148f642c5d379a3f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Feb 19 20:27:11 2013 -0500
panel: Don't try to begin a grab op while something else has taken a grab
https://bugzilla.gnome.org/show_bug.cgi?id=694241
js/ui/panel.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 7153abd..f24f3a4 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -1065,6 +1065,9 @@ const Panel = new Lang.Class({
},
_onButtonPress: function(actor, event) {
+ if (Main.modalCount > 0)
+ return false;
+
if (event.get_source() != actor)
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]