summaryrefslogtreecommitdiffstats
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-05 08:09:22 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-05 08:09:22 -0400
commit58804a044f782a397302173deb1416e47b3c3357 (patch)
tree9e155febd82e37ba6cb7b9e1b8ee7fda044d5147 /swaybar/bar.c
parentMerge pull request #737 from zandrmartin/fix-bar-on-reload (diff)
parentFix formatting guide violations (spaces instead of tabs) (diff)
downloadsway-58804a044f782a397302173deb1416e47b3c3357.tar.gz
sway-58804a044f782a397302173deb1416e47b3c3357.tar.zst
sway-58804a044f782a397302173deb1416e47b3c3357.zip
Merge pull request #738 from deklov/panel-as-shell-02
Make swaybar and swaybg shell surfaces, take 2
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c2
1 files changed, 2 insertions, 0 deletions
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) {
87 desktop_shell_set_panel(bar_output->registry->desktop_shell, output->output, bar_output->window->surface); 87 desktop_shell_set_panel(bar_output->registry->desktop_shell, output->output, bar_output->window->surface);
88 desktop_shell_set_panel_position(bar_output->registry->desktop_shell, bar->config->position); 88 desktop_shell_set_panel_position(bar_output->registry->desktop_shell, bar->config->position);
89 89
90 window_make_shell(bar_output->window);
91
90 /* set font */ 92 /* set font */
91 bar_output->window->font = bar->config->font; 93 bar_output->window->font = bar->config->font;
92 94