From 74ccdb476063d1002304f7b3800ce3b27cb51fb7 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 f40ec84b..4197939c 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