From 2e270fff9d7e92f040b976bf72fd4688869e214b Mon Sep 17 00:00:00 2001 From: Leonhard Kargl Date: Fri, 24 May 2024 16:23:11 +0200 Subject: [PATCH] Fix propagation phase --- src/PanelWindow.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PanelWindow.vala b/src/PanelWindow.vala index e0cd1148..7929e593 100644 --- a/src/PanelWindow.vala +++ b/src/PanelWindow.vala @@ -86,7 +86,10 @@ public class Wingpanel.PanelWindow : Gtk.Window { key_controller = new Gtk.EventControllerKey (this); key_controller.key_pressed.connect (on_key_pressed); - gesture_controller = new Gtk.GestureMultiPress (this); + gesture_controller = new Gtk.GestureMultiPress (this) { + propagation_phase = CAPTURE + }; + gesture_controller.pressed.connect (() => { if (desktop_panel != null) { desktop_panel.focus ();