From ad84c07c8a51eac214ff552576a1b54bf62d433c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 7 Oct 2009 20:52:53 +0200 Subject: [PATCH] Bugfix: Correctly position bar window when using xrandr --below or --above (Thanks Mirko, dirkson) --- src/xinerama.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xinerama.c b/src/xinerama.c index df7f9408..d0f8b46c 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -137,7 +137,7 @@ static void initialize_screen(xcb_connection_t *conn, i3Screen *screen, Workspac /* Create a bar for each screen */ Rect bar_rect = {screen->rect.x, - screen->rect.height - (font->height + 6), + screen->rect.y + screen->rect.height - (font->height + 6), screen->rect.x + screen->rect.width, font->height + 6}; uint32_t mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_EVENT_MASK; -- 2.39.5