]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Also apply the fix of 74ccdb4 when re-querying xinerama screens (Thanks Scytale)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 11 Oct 2009 12:28:27 +0000 (14:28 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 11 Oct 2009 12:28:27 +0000 (14:28 +0200)
src/xinerama.c

index d0f8b46caab43dd60457ac8583d44bed29b3949c..d42c16ffaa45bc77989fc901a5dae0e2ffb402c7 100644 (file)
@@ -320,7 +320,7 @@ void xinerama_requery_screens(xcb_connection_t *conn) {
                         LOG("old_screen->bar = %p\n", old_screen->bar);
 
                         Rect bar_rect = {screen->rect.x,
-                                         screen->rect.height - (font->height + 6),
+                                         sscreen->rect.y + creen->rect.height - (font->height + 6),
                                          screen->rect.x + screen->rect.width,
                                          font->height + 6};