editor: Set capture phase for the gesture

This commit is contained in:
Alexander Mikhaylenko 2022-07-15 01:23:07 +04:00
parent 0ef60a35b7
commit 3050e7809e

View file

@ -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);