[gnome-shell] grabHelper: Ungrab the entire stack on "outside clicks"
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] grabHelper: Ungrab the entire stack on "outside clicks"
- Date: Tue, 18 Sep 2012 16:47:24 +0000 (UTC)
commit 809cbf58c6e396d4d5d34da840fcaed56ff01b3b
Author: Florian MÃllner <fmuellner gnome org>
Date: Sat Sep 15 16:45:00 2012 +0200
grabHelper: Ungrab the entire stack on "outside clicks"
Currently clicks outside the grabbed actors are handled the same as
the user pressing Escape - a single actor is popped from the grab stack.
However according to the design, outside clicks should release all grabs.
https://bugzilla.gnome.org/show_bug.cgi?id=682243
js/ui/grabHelper.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js
index 6c7511f..9249828 100644
--- a/js/ui/grabHelper.js
+++ b/js/ui/grabHelper.js
@@ -330,7 +330,7 @@ const GrabHelper = new Lang.Class({
// which should be a release event.
if (press)
this._ignoreRelease = true;
- this.ungrab();
+ this.ungrab({ actor: this._grabStack[0].actor });
}
return this._modalCount > 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]