aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 957e5bdf..6d858f92 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -87,6 +87,8 @@ void bar_setup(struct bar *bar, const char *socket_path, const char *bar_id) {
desktop_shell_set_panel(bar_output->registry->desktop_shell, output->output, bar_output->window->surface);
desktop_shell_set_panel_position(bar_output->registry->desktop_shell, bar->config->position);
+ window_make_shell(bar_output->window);
+
/* set font */
bar_output->window->font = bar->config->font;