mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -776,7 +776,7 @@ HotCorner.prototype = {
|
|||
_onCornerClicked : function() {
|
||||
if (!Main.overview.animationInProgress)
|
||||
this.maybeToggleOverviewOnClick();
|
||||
return false;
|
||||
return true;
|
||||
},
|
||||
|
||||
_onCornerLeft : function(actor, event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue