[gnome-shell] panel: Don't propagate button-release-event in _onCornerClicked()



commit 63b1699a35b6206747dac0e8ed2ac583618a9e64
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu May 5 16:09:07 2011 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 6a24ac9..64235ed 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]