From 0434b6ea3d26c6908fed953eaa34ddf651a08d6d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 29 Jun 2009 22:23:24 +0200 Subject: [PATCH] Bugfix: That last push was one step too fast. Forgot to check parameter. --- src/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage.c b/src/manage.c index 2cc0adae..c1a79e7f 100644 --- a/src/manage.c +++ b/src/manage.c @@ -82,7 +82,7 @@ void manage_window(xcb_property_handlers_t *prophs, xcb_connection_t *conn, return; } - if (attr->map_state != XCB_MAP_STATE_VIEWABLE) { + if (needs_to_be_mapped && attr->map_state != XCB_MAP_STATE_VIEWABLE) { LOG("Window not mapped, not managing\n"); goto out; } -- 2.39.5