1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-22 17:02:05 +01:00

Account for vertical offset of monitor in x11

This commit is contained in:
Philip Wales 2024-10-11 23:15:24 -05:00 committed by Jari Vetoniemi
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) {