[geary/wip/exalm/touch] editor: Set capture phase for the gesture




commit 824b2434ff619f703935f930c73f87bd824122cd
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..b20fd2483 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);
+        thic.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]