]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: checked for wrong flag in size hints
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Mar 2010 00:20:56 +0000 (01:20 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Mar 2010 00:23:38 +0000 (01:23 +0100)
src/handlers.c

index bc484c92b890f81936841c832f071f76b92733db..b7b10a7427384180e627dbbc3292fc544ca5a544 100644 (file)
@@ -880,7 +880,7 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w
         /* base_width/height are the desired size of the window.
            We check if either the program-specified size or the program-specified
            min-size is available */
-        if (size_hints.flags & XCB_SIZE_HINT_P_SIZE) {
+        if (size_hints.flags & XCB_SIZE_HINT_BASE_SIZE) {
                 base_width = size_hints.base_width;
                 base_height = size_hints.base_height;
         } else if (size_hints.flags & XCB_SIZE_HINT_P_MIN_SIZE) {