mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Correct context menu placement if bar is bottom
Originally the context menu would draw at the top of the screen, which is incorrect.
This commit is contained in:
parent
2f1eb30c38
commit
5c8dc9cb73
3 changed files with 8 additions and 1 deletions
|
|
@ -247,6 +247,8 @@ void bar_setup(struct bar *bar, const char *socket_path, const char *bar_id) {
|
|||
|
||||
/* set window height */
|
||||
set_window_height(bar_output->window, bar->config->height);
|
||||
|
||||
bar_output->state = output;
|
||||
}
|
||||
/* spawn status command */
|
||||
spawn_status_cmd_proc(bar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue