Ecore_X(cb): Remove extra calls to ecore_x_flush. Move main loop
[framework/uifw/ecore.git] / src / lib / ecore_x / xcb / ecore_xcb_window_prop.c
index ea1d043..a6b37cb 100644 (file)
@@ -48,7 +48,7 @@ ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom, unsigned i
 #if SIZEOF_INT == SIZEOF_LONG
    xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom, 
                        ECORE_X_ATOM_CARDINAL, 32, num, (unsigned char *)val);
-   ecore_x_flush();
+//   ecore_x_flush();
 #else
    long *v2;
    unsigned int i;
@@ -61,7 +61,7 @@ ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom, unsigned i
    xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom, 
                        ECORE_X_ATOM_CARDINAL, 32, num, (unsigned char *)v2);
    free(v2);
-   ecore_x_flush();
+//   ecore_x_flush();
 #endif
 }
 
@@ -136,7 +136,7 @@ ecore_x_window_prop_xid_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom
 #if SIZEOF_INT == SIZEOF_LONG
    xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom, 
                        type, 32, num, (unsigned char *)xids);
-   ecore_x_flush();
+//   ecore_x_flush();
 #else
    long *v2;
    unsigned int i;
@@ -149,7 +149,7 @@ ecore_x_window_prop_xid_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom
    xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom, 
                        type, 32, num, (unsigned char *)v2);
    free(v2);
-   ecore_x_flush();
+//   ecore_x_flush();
 #endif
 }
 
@@ -198,7 +198,7 @@ ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, const char
 
    xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, type, 
                        ECORE_X_ATOM_UTF8_STRING, 8, strlen(str), str);
-   ecore_x_flush();
+//   ecore_x_flush();
 }
 
 EAPI char *
@@ -306,7 +306,7 @@ ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom property, Ecor
      {
         xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, 
                             property, type, size, num, (unsigned char *)data);
-        ecore_x_flush();
+//        ecore_x_flush();
      }
    else 
      {
@@ -322,7 +322,7 @@ ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom property, Ecor
                                  property, type, size, num, 
                                  (unsigned char *)dat);
              free(dat);
-             ecore_x_flush();
+//             ecore_x_flush();
           }
      }
 }