mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
fix bar Y position in case of multi-monitor setups with mixed resolutions
This commit is contained in:
parent
700bf5b28c
commit
1b2dee55ef
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ setup(struct bar *_bar)
|
||||||
backend->x = mon->x;
|
backend->x = mon->x;
|
||||||
backend->y = mon->y;
|
backend->y = mon->y;
|
||||||
bar->width = mon->width;
|
bar->width = mon->width;
|
||||||
backend->y += bar->location == BAR_TOP ? 0 : screen->height_in_pixels - bar->height_with_border;
|
backend->y += bar->location == BAR_TOP ? 0 : mon->height - bar->height_with_border;
|
||||||
|
|
||||||
found_monitor = true;
|
found_monitor = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue