[gnome-shell/wip/carlosg/app-grid-gestures: 10/11] grabHelper: Propagate events while this._ignoreUntilRelease
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/app-grid-gestures: 10/11] grabHelper: Propagate events while this._ignoreUntilRelease
- Date: Tue, 11 May 2021 16:13:52 +0000 (UTC)
commit 91a797871163a785e353b5607f509e6936ea2080
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Mar 18 19:00:13 2021 +0100
grabHelper: Propagate events while this._ignoreUntilRelease
Let these events to be handled as usual, so that the grabbing actor
can handle input differently (e.g. trigger DnD) while the grabHelper
is active.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1774>
js/ui/grabHelper.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js
index 532f744175..e70285bdee 100644
--- a/js/ui/grabHelper.js
+++ b/js/ui/grabHelper.js
@@ -306,7 +306,7 @@ var GrabHelper = class GrabHelper {
if (this._ignoreUntilRelease && (motion || release || touch)) {
if (release || touchEnd)
this._ignoreUntilRelease = false;
- return Clutter.EVENT_STOP;
+ return Clutter.EVENT_PROPAGATE;
}
if (this._isWithinGrabbedActor(event.get_source()))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]