swaybar: Make swaybar a shell surface

This commit is contained in:
David Eklov 2016-07-04 17:03:55 -05:00
parent bb35960e65
commit d3752b4140
1 changed files with 2 additions and 0 deletions

View File

@ -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;