mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-19 17:25:38 +02:00
bar: move x,y coordinates to xcb backend
This commit is contained in:
parent
3d8cb7f17e
commit
0ab772f869
3 changed files with 12 additions and 16 deletions
|
@ -657,11 +657,6 @@ setup(struct bar *_bar)
|
|||
}
|
||||
|
||||
bar->width = backend->width;
|
||||
bar->x = backend->monitor->x;
|
||||
bar->y = backend->monitor->y;
|
||||
bar->y += bar->location == BAR_TOP
|
||||
? 0
|
||||
: backend->monitor->height_px - bar->height_with_border;
|
||||
|
||||
if (pipe(backend->pipe_fds) == -1) {
|
||||
LOG_ERRNO("failed to create pipe");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue