]> 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:52:53 +0000 (20:52 +0200)
src/xinerama.c

index df7f94083d426186fe3521373aefe53708c4fc36..d0f8b46caab43dd60457ac8583d44bed29b3949c 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;