From da3d4e82e359e7aca63652c6d8e4f4ba2c71b722 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 24 May 2022 22:07:27 +0200 Subject: [PATCH] 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. Part-of: --- 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 b9e3aec60..570d39ccb 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() {