diff --git a/src/PanelWindow.vala b/src/PanelWindow.vala index e3b4cff5..b02aaabd 100644 --- a/src/PanelWindow.vala +++ b/src/PanelWindow.vala @@ -82,7 +82,9 @@ public class Wingpanel.PanelWindow : Gtk.Window { key_controller = new Gtk.EventControllerKey (this); key_controller.key_pressed.connect (on_key_pressed); - panel.size_allocate.connect (update_panel_dimensions); + if (!Utils.is_wayland ()) { + panel.size_allocate.connect (update_panel_dimensions); + } } private void on_realize () {