geez! i used the wrong atom for pixmap prop! fix fix fix! it worked
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Jan 2011 06:14:04 +0000 (06:14 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Jan 2011 06:14:04 +0000 (06:14 +0000)
only because copy and paste had get AND set use the same atom!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@56041 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xlib/ecore_x_e.c

index 81e8c30..63d62f3 100644 (file)
@@ -990,7 +990,7 @@ ecore_x_e_comp_pixmap_set(Ecore_X_Window win, Ecore_X_Pixmap pixmap)
 {
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
    if (pixmap)
-      ecore_x_window_prop_xid_set(win, ECORE_X_ATOM_E_COMP_DUMP,
+      ecore_x_window_prop_xid_set(win, ECORE_X_ATOM_E_COMP_PIXMAP,
                                   ECORE_X_ATOM_PIXMAP, &pixmap, 1);
    else
       ecore_x_window_prop_property_del(win, pixmap);
@@ -1005,7 +1005,7 @@ ecore_x_e_comp_pixmap_get(Ecore_X_Window win)
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
    ret =
       ecore_x_window_prop_xid_get(win,
-                                  ECORE_X_ATOM_E_COMP_DUMP,
+                                  ECORE_X_ATOM_E_COMP_PIXMAP,
                                   ECORE_X_ATOM_PIXMAP,
                                   &pixmap, 1);
    if (ret != 1)