From 63b1699a35b6206747dac0e8ed2ac583618a9e64 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 5 May 2011 16:09:07 +0100 Subject: [PATCH] panel: Don't propagate button-release-event in _onCornerClicked() Since both the hot corner's ClutterGroup and the hot corner's ClutterRectangle button-release-event is connected to _onCornerClicked() we must handle it there by returning 'true' to Clutter or else _onCornerClicked() is called twice which defeats the HOT_CORNER_ACTIVATION_TIMEOUT logic. https://bugzilla.gnome.org/show_bug.cgi?id=649427 --- js/ui/panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index 6a24ac99d..64235eda0 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -776,7 +776,7 @@ HotCorner.prototype = { _onCornerClicked : function() { if (!Main.overview.animationInProgress) this.maybeToggleOverviewOnClick(); - return false; + return true; }, _onCornerLeft : function(actor, event) {