keyboard: Set up OSK edge drag gesture on capture phase
This makes the gesture able to get the events that would otherwise be meant for the background actor or client window. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5335 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>
This commit is contained in:
parent
1fa5c63307
commit
9a0935305d
@ -1203,7 +1203,7 @@ var KeyboardManager = class KeyBoardManager {
|
|||||||
if (this._keyboard)
|
if (this._keyboard)
|
||||||
this._keyboard.gestureCancel();
|
this._keyboard.gestureCancel();
|
||||||
});
|
});
|
||||||
global.stage.add_action(bottomDragAction);
|
global.stage.add_action_full('osk', Clutter.EventPhase.CAPTURE, bottomDragAction);
|
||||||
this._bottomDragAction = bottomDragAction;
|
this._bottomDragAction = bottomDragAction;
|
||||||
|
|
||||||
this._syncEnabled();
|
this._syncEnabled();
|
||||||
|
Loading…
Reference in New Issue
Block a user