mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
swaybar: Make swaybar a shell surface
This commit is contained in:
parent
bb35960e65
commit
d3752b4140
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue