]> git.sur5r.net Git - i3/i3/commitdiff
Place bar at the bottom of the screen, when creating them
authorAxel Wagner <mail@merovius.de>
Sun, 24 Oct 2010 20:56:08 +0000 (22:56 +0200)
committerAxel Wagner <mail@merovius.de>
Sun, 24 Oct 2010 20:56:08 +0000 (22:56 +0200)
i3bar/src/xcb.c

index 9ae3873fe46e50e2dc2c528a3b4ec2f3b0c617f8..31d9771caada8f5c6e9f076d05fbe9f8e3b9e4b9 100644 (file)
@@ -629,7 +629,7 @@ void reconfig_windows() {
                                                                      xcb_screen->root_depth,
                                                                      walk->bar,
                                                                      xcb_root,
-                                                                     walk->rect.x, walk->rect.y,
+                                                                     walk->rect.x, walk->rect.y + walk->rect.h - font_height - 6,
                                                                      walk->rect.w, font_height + 6,
                                                                      1,
                                                                      XCB_WINDOW_CLASS_INPUT_OUTPUT,