diff --git a/src/panel/widgets/window-list/toplevel.cpp b/src/panel/widgets/window-list/toplevel.cpp index e0496053..e5d2b0cd 100644 --- a/src/panel/widgets/window-list/toplevel.cpp +++ b/src/panel/widgets/window-list/toplevel.cpp @@ -68,7 +68,6 @@ class WayfireToplevel::impl button_contents.set_spacing(5); button.set_child(button_contents); button.set_tooltip_text("none"); - set_state(0); // will set the appropriate button style label.set_ellipsize(Pango::EllipsizeMode::END); label.set_hexpand(true); @@ -155,6 +154,7 @@ class WayfireToplevel::impl this->window_list = window_list; send_rectangle_hints(); + set_state(0); // will set the appropriate button style } int grab_off_x;