From f4e6f7074e985bc8d22d3ca5853f48b9d6dd5614 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 74183a0e5..001a9e36a 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) {