summaryrefslogtreecommitdiff
path: root/xcb-demo/hypnomoire.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2004-07-25 02:25:35 +0000
committerJamey Sharp <jamey@minilop.net>2004-07-25 02:25:35 +0000
commit5f3ab170d424129f10fdb88e9a71378a3047ae91 (patch)
tree037bc5f01f1fb138d4696540e85c54bb9cf212a5 /xcb-demo/hypnomoire.c
parentc85aeb70488eccc97a609dc68723da95a64c0d46 (diff)
Update for XCB API change surrounding iterators.
Diffstat (limited to 'xcb-demo/hypnomoire.c')
-rw-r--r--xcb-demo/hypnomoire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcb-demo/hypnomoire.c b/xcb-demo/hypnomoire.c
index c651c9f..4116693 100644
--- a/xcb-demo/hypnomoire.c
+++ b/xcb-demo/hypnomoire.c
@@ -64,7 +64,7 @@ int main()
XCBDRAWABLE rootwin;
c = XCBConnectBasic();
- root = XCBConnSetupSuccessRepRoots(XCBGetSetup(c)).data;
+ root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data;
get_depth();
rootwin.window = root->root;