[gnome-shell/gnome-42] keyboard: Set up OSK edge drag gesture on capture phase
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-42] keyboard: Set up OSK edge drag gesture on capture phase
- Date: Sat, 28 May 2022 12:07:20 +0000 (UTC)
commit 8dc0ca5eebdeda668418f02cd544b19589872fc6
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 24 22:22:05 2022 +0200
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>
(cherry picked from commit 9a0935305d76e7e7c5c9d659b71609d873cfecbb)
js/ui/keyboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 570d39ccbf..499bc28a90 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1203,7 +1203,7 @@ var KeyboardManager = class KeyBoardManager {
if (this._keyboard)
this._keyboard.gestureCancel();
});
- global.stage.add_action(bottomDragAction);
+ global.stage.add_action_full('osk', Clutter.EventPhase.CAPTURE, bottomDragAction);
this._bottomDragAction = bottomDragAction;
this._syncEnabled();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]