Remove warnings from xtest demo.#
authorIan Osgood <iano@quirkster.com>
Thu, 27 Apr 2006 21:42:27 +0000 (14:42 -0700)
committerIan Osgood <iano@quirkster.com>
Thu, 27 Apr 2006 21:42:27 +0000 (14:42 -0700)
app/xte/xte.c

index 6dfbb5f..f7b18a6 100644 (file)
@@ -87,7 +87,7 @@ fake_motion(XCBConnection *c, BOOL relative, CARD16 x, CARD16 y)
   XCBWINDOW window = { XCBNone };
 
   if (!relative) {
-    window = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data->root;
+    window = XCBSetupRootsIter(XCBGetSetup(c)).data->root;
   }
   XCBTestFakeInput( c, XCBMotionNotify, relative, 0, window, x, y, 0 );
 }