]> git.sur5r.net Git - i3/i3/commitdiff
Disable horizontal resizing for the release version, it still has bugs
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 15 Mar 2009 20:31:35 +0000 (21:31 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 15 Mar 2009 20:31:35 +0000 (21:31 +0100)
src/handlers.c

index 00a7b06d26a03e10001b25e20352e79312d6ed71..174b56c380bb6e55e37e96c2bf65c9f58729f2ac 100644 (file)
@@ -325,6 +325,13 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
                 second = con->workspace->table[con->col+1][con->row];
         }
 
+        /* FIXME: horizontal resizing causes empty spaces to exist */
+        if (orientation == O_HORIZONTAL) {
+                LOG("Sorry, horizontal resizing is not yet activated due to creating layout bugs."
+                    "If you are brave, enable the code for yourself and try fixing it.\n");
+                return 1;
+        }
+
         uint32_t mask = 0;
         uint32_t values[2];