mirror of
https://github.com/Cloudef/bemenu
synced 2024-12-22 10:40:00 +00:00
Account for vertical offset of monitor in x11
This commit is contained in:
parent
f8b17fd861
commit
5aeae37878
@ -117,7 +117,7 @@ bm_x11_window_render(struct window *window, struct bm_menu *menu)
|
||||
win_y = window->max_height - window->height;
|
||||
}
|
||||
|
||||
XMoveResizeWindow(window->display, window->drawable, window->x, win_y + window->y_offset, window->width, window->height);
|
||||
XMoveResizeWindow(window->display, window->drawable, window->x, window->y + win_y + window->y_offset, window->width, window->height);
|
||||
}
|
||||
|
||||
if (buffer->created) {
|
||||
|
Loading…
Reference in New Issue
Block a user