[gnome-shell/wip/carlosg/app-grid-gestures: 4/5] grabHelper: propagate events while this._ignoreUntilRelease
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/app-grid-gestures: 4/5] grabHelper: propagate events while this._ignoreUntilRelease
- Date: Thu, 18 Mar 2021 19:50:51 +0000 (UTC)
commit 834b76505f45f9deab8267d7eef2521e8f70a543
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.
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]