commit d3752b41405b5572d0ba488aaf969f308e06968a
parent bb35960e652f98a882ed3cd2d1968b860942b896
Author: David Eklov <david.eklov@gmail.com>
Date: Mon, 4 Jul 2016 17:03:55 -0500
swaybar: Make swaybar a shell surface
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;