Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints which were set before mapping

This commit is contained in:
Michael Stapelberg 2009-03-15 12:24:49 +01:00
parent cb9c7078be
commit c02dd93bcc
1 changed files with 1 additions and 0 deletions

View 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]);
}