mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
swaybar: Make swaybar a shell surface
This commit is contained in:
parent
bb35960e65
commit
d3752b4140
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user