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
This commit is contained in:
parent
48acc41698
commit
63b1699a35
@ -776,7 +776,7 @@ HotCorner.prototype = {
|
|||||||
_onCornerClicked : function() {
|
_onCornerClicked : function() {
|
||||||
if (!Main.overview.animationInProgress)
|
if (!Main.overview.animationInProgress)
|
||||||
this.maybeToggleOverviewOnClick();
|
this.maybeToggleOverviewOnClick();
|
||||||
return false;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
_onCornerLeft : function(actor, event) {
|
_onCornerLeft : function(actor, event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user