[gnome-shell/wip/carlosg/osk-gestures-capture: 2/2] keyboard: Set up OSK edge drag gesture on capture phase
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-gestures-capture: 2/2] keyboard: Set up OSK edge drag gesture on capture phase
- Date: Tue, 24 May 2022 20:25:50 +0000 (UTC)
commit 7d86db88d3c7ab7abba4f5fcd156a3f0eef20086
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
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 282f9ac06d..82692dc94b 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]