From 5aeae37878d3e97065a4dc24abc25dc85a1549d8 Mon Sep 17 00:00:00 2001 From: Philip Wales Date: Fri, 11 Oct 2024 23:15:24 -0500 Subject: [PATCH] Account for vertical offset of monitor in x11 --- lib/renderers/x11/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/renderers/x11/window.c b/lib/renderers/x11/window.c index 05b1021..2cb18e3 100644 --- a/lib/renderers/x11/window.c +++ b/lib/renderers/x11/window.c @@ -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) {