]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints...
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 15 Mar 2009 11:24:49 +0000 (12:24 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 15 Mar 2009 11:24:49 +0000 (12:24 +0100)
src/mainx.c

index cfb170a30909b47561f7b49a3a644fa03bf9a8be..24e7d11c911eb17fc870e7cb9dbf9d2593354efd 100644 (file)
@@ -106,6 +106,7 @@ void manage_window(xcb_property_handlers_t *prophs, xcb_connection_t *conn, xcb_
                 reparent_window(conn, window, attr->visual, geom->root, geom->depth,
                                 geom->x, geom->y, geom->width, geom->height);
                 xcb_property_changed(prophs, XCB_PROPERTY_NEW_VALUE, window, WM_NAME);
+                xcb_property_changed(prophs, XCB_PROPERTY_NEW_VALUE, window, WM_NORMAL_HINTS);
                 xcb_property_changed(prophs, XCB_PROPERTY_NEW_VALUE, window, atoms[_NET_WM_NAME]);
         }