geez! i used the wrong atom for pixmap prop! fix fix fix! it worked

only because copy and paste had get AND set use the same atom!



SVN revision: 56041
This commit is contained in:
Carsten Haitzler 2011-01-11 06:14:04 +00:00
parent 49f5946b26
commit 5844d77a0a
1 changed files with 2 additions and 2 deletions

View 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)