[gnome-shell/wip/carlosg/osk-gestures-capture: 1/2] keyboard: Set up emoji panel pan gesture in capture phase
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-gestures-capture: 1/2] keyboard: Set up emoji panel pan gesture in capture phase
- Date: Tue, 24 May 2022 20:25:50 +0000 (UTC)
commit f3e7e3f2c829d9383c60b18283866dbd991f2bb8
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 24 22:07:27 2022 +0200
keyboard: Set up emoji panel pan gesture in capture phase
We need this to catch events before they reach to the emoji
keys, and the gesture can begin/end properly.
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 e0c42219e5..282f9ac06d 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -706,7 +706,7 @@ var EmojiPager = GObject.registerClass({
panAction.connect('gesture-cancel', this._onPanCancel.bind(this));
panAction.connect('gesture-end', this._onPanEnd.bind(this));
this._panAction = panAction;
- this.add_action(panAction);
+ this.add_action_full('pan', Clutter.EventPhase.CAPTURE, panAction);
}
get delta() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]