From d3752b41405b5572d0ba488aaf969f308e06968a Mon Sep 17 00:00:00 2001 From: David Eklov Date: Mon, 4 Jul 2016 17:03:55 -0500 Subject: [PATCH] swaybar: Make swaybar a shell surface --- swaybar/bar.c | 2 ++ 1 file changed, 2 insertions(+) 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;