[gnome-shell/gnome-3-0] panel: Don't propagate button-release-event in _onCornerClicked()
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-0] panel: Don't propagate button-release-event in _onCornerClicked()
- Date: Wed, 25 May 2011 19:58:00 +0000 (UTC)
commit f4e6f7074e985bc8d22d3ca5853f48b9d6dd5614
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 74183a0..001a9e3 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]