mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
edgeDragAction: Change edge trigger threshold to AFTER
For all instances of this gesture, we want this gesture to activate after some distance, not to eat button presses/releases right away. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>
This commit is contained in:
parent
da3d4e82e3
commit
1fa5c63307
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ var EdgeDragAction = GObject.registerClass({
|
|||
this._side = side;
|
||||
this._allowedModes = allowedModes;
|
||||
this.set_n_touch_points(1);
|
||||
this.set_threshold_trigger_edge(Clutter.GestureTriggerEdge.AFTER);
|
||||
|
||||
global.display.connect('grab-op-begin', () => this.cancel());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue