delete e pixmap atom based on atom pixmap atom, not pixmap

This commit is contained in:
Mike Blumenkrantz 2013-07-17 12:30:48 +01:00
parent ad7933670f
commit d77d9134f8
4 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,8 @@
2013-07-17 Mike Blumenkrantz
* Ecore-X: add error messages for xlib, ECORE_X_ATOM_XDND_DIRECTSAVE0
* Ecore-X: add error messages for xlib, ECORE_X_ATOM_XDND_DIRECTSAVE0,
fix ecore_x_e_comp_pixmap_set to delete pixmap atom correctly
2013-07-15 Mike Blumenkrantz

1
NEWS
View File

@ -346,6 +346,7 @@ Fixes:
- Fix selection parser to not overrun buffer read by using longs on 64bit.
- Fix x11 selection trailing nul byte in text.
- Fix BadMatch errors in ecore_x_image_get when requested size was larger than XImage size
- Fix ecore_x_e_comp_pixmap_set to delete pixmap atom correctly
* Ecore_Wayland:
- Fix return type of function ecore_wl_outputs_get().
* Ecore_Input_Evas:

View File

@ -680,7 +680,7 @@ ecore_x_e_comp_pixmap_set(Ecore_X_Window win,
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);
ecore_x_window_prop_property_del(win, ECORE_X_ATOM_E_COMP_PIXMAP);
}
EAPI Ecore_X_Pixmap

View File

@ -1685,7 +1685,7 @@ ecore_x_e_comp_pixmap_set(Ecore_X_Window win,
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);
ecore_x_window_prop_property_del(win, ECORE_X_ATOM_E_COMP_PIXMAP);
}
EAPI Ecore_X_Pixmap