Bugfix: That last push was one step too fast. Forgot to check parameter.

This commit is contained in:
Michael Stapelberg 2009-06-29 22:23:24 +02:00
parent 91aeed0442
commit 0434b6ea3d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}