From: Michael Stapelberg Date: Sun, 15 Mar 2009 11:24:49 +0000 (+0100) Subject: Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints... X-Git-Tag: 3.a~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c02dd93bccf5e90f7f37cfbc7d9b4b3572aa88b1;p=i3%2Fi3 Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints which were set before mapping --- diff --git a/src/mainx.c b/src/mainx.c index cfb170a3..24e7d11c 100644 --- a/src/mainx.c +++ b/src/mainx.c @@ -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]); }