From c02dd93bccf5e90f7f37cfbc7d9b4b3572aa88b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 15 Mar 2009 12:24:49 +0100 Subject: [PATCH] Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints which were set before mapping --- src/mainx.c | 1 + 1 file changed, 1 insertion(+) 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]); } -- 2.39.5