[geary/gnumdk/stable: 12/21] editor: Set capture phase for the gesture




commit 28b25bc350cbffd0bf56afa0349c0932fdbf7b47
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jul 15 01:23:07 2022 +0400

    editor: Set capture phase for the gesture

 src/client/composer/composer-editor.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/client/composer/composer-editor.vala b/src/client/composer/composer-editor.vala
index 8ae0ec8b1..c5d3e95d5 100644
--- a/src/client/composer/composer-editor.vala
+++ b/src/client/composer/composer-editor.vala
@@ -181,6 +181,7 @@ public class Composer.Editor : Gtk.Grid, Geary.BaseInterface {
         this.body_container.add(this.body);
 
         this.click_gesture = new Gtk.GestureMultiPress(this.body);
+        this.click_gesture.propagation_phase = CAPTURE;
         this.click_gesture.pressed.connect(this.on_button_press);
         this.click_gesture.released.connect(this.on_button_release);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]