diff options
Diffstat (limited to 'property/prop.c')
-rw-r--r-- | property/prop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/property/prop.c b/property/prop.c index cb857ca..cbe2ec8 100644 --- a/property/prop.c +++ b/property/prop.c @@ -118,7 +118,7 @@ int SetDefaultPropertyHandler(PropertyHandlers *prophs, CARD32 long_len, Generic int rootOfScreen(XCBConnection *c, int screen, XCBWINDOW *root) { - XCBSCREENIter i = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)); + XCBSCREENIter i = XCBSetupRootsIter(XCBGetSetup(c)); if(screen >= i.rem) return 0; for(; screen && i.rem; --screen, XCBSCREENNext(&i)) |