summaryrefslogtreecommitdiff
path: root/wm/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/manage.c')
-rw-r--r--wm/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wm/manage.c b/wm/manage.c
index 68d85a8..8c5a29c 100644
--- a/wm/manage.c
+++ b/wm/manage.c
@@ -74,7 +74,7 @@ int handleUnmapNotifyEvent(void *data, XCBConnection *c, XCBUnmapNotifyEvent *e)
return 0;
}
- root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data->root;
+ root = XCBSetupRootsIter(XCBGetSetup(c)).data->root;
printf("child of 0x%08lx.\n", client->parent.xid);
XCBReparentWindow(c, client->child, root, 0, 0);
XCBDestroyWindow(c, client->parent);