[gnome-shell/wip/carlosg/app-grid-gestures: 85/86] 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: 85/86] grabHelper: Propagate events while this._ignoreUntilRelease
- Date: Tue, 11 May 2021 15:54:17 +0000 (UTC)
commit f49c59defe9e6464adeb60c7e9cac79754444b48
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]