Skip to content

Commit

Permalink
Fix propagation phase
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed May 24, 2024
1 parent ca8bded commit 2e270ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PanelWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 2e270ff

Please sign in to comment.