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>
This commit is contained in:
parent
ecead8c727
commit
91a7978711
@ -306,7 +306,7 @@ var GrabHelper = class GrabHelper {
|
|||||||
if (this._ignoreUntilRelease && (motion || release || touch)) {
|
if (this._ignoreUntilRelease && (motion || release || touch)) {
|
||||||
if (release || touchEnd)
|
if (release || touchEnd)
|
||||||
this._ignoreUntilRelease = false;
|
this._ignoreUntilRelease = false;
|
||||||
return Clutter.EVENT_STOP;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._isWithinGrabbedActor(event.get_source()))
|
if (this._isWithinGrabbedActor(event.get_source()))
|
||||||
|
Loading…
Reference in New Issue
Block a user