[gnome-shell/wip/carlosg/osk-gestures-capture: 7/7] keyboard: Set up OSK edge drag gesture on capture phase
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-gestures-capture: 7/7] keyboard: Set up OSK edge drag gesture on capture phase
- Date: Fri, 27 May 2022 09:29:41 +0000 (UTC)
commit 9a0935305d76e7e7c5c9d659b71609d873cfecbb
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>
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]