]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly position bar window when using xrandr --below or --above (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 7 Oct 2009 18:52:53 +0000 (20:52 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 7 Oct 2009 18:53:37 +0000 (20:53 +0200)
src/xinerama.c

index f40ec84b342fe7b248e3adcbdb50affe9fb277a8..4197939ca4ef11ce064bc881838179dbae202c63 100644 (file)
@@ -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;