Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/bin


Modified Files:
        evas_software_xcb_main.c evas_software_xcb_perf_test.c 


Log Message:
fix xrender xcb engine, add old stuff committed to the Xlib engines and not to 
the XCB ones, replace deprecated XCBSync call by a call of GetInputFocus, fix 
some round trips but a complete review of the engines must be done to fix them 
all, first part of a cleanup, first part of XCB error management

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/bin/evas_software_xcb_perf_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_software_xcb_perf_test.c       4 May 2006 06:46:57 -0000       1.5
+++ evas_software_xcb_perf_test.c       9 Sep 2006 08:10:23 -0000       1.6
@@ -109,13 +109,14 @@
 int
 main(int argc, char **argv)
 {
-   int              exposed = 0;
-   XCBSCREEN       *screen;
-   XCBGenericEvent *e;
-   SizeHints       *szhints;
-   CARD32           mask = 0;
-   CARD32           value[6];
-   int              screen_nbr;
+   int                  exposed = 0;
+   XCBSCREEN           *screen;
+   XCBGetInputFocusRep *reply;
+   XCBGenericEvent     *e;
+   SizeHints           *szhints;
+   CARD32               mask = 0;
+   CARD32               value[6];
+   int                  screen_nbr;
 
    c = XCBConnect (NULL, &screen_nbr);
    if (!c)
@@ -159,7 +160,11 @@
    FreeSizeHints(szhints);
 
    XCBMapWindow (c, win.window);
-   XCBSync(c, 0);
+   /* we sync */
+   reply = XCBGetInputFocusReply(c,
+                                 XCBGetInputFocusUnchecked(c),
+                                 NULL);
+   free(reply);
    sleep(1);
 
    evas_init();



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to