fix ximage get error sync problem.

SVN revision: 83029
This commit is contained in:
Carsten Haitzler 2013-01-21 04:31:39 +00:00
parent 380aea9e91
commit 87fdbd56e0
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-01-21 Carsten Haitzler (The Rasterman)
* Fix xsync problem in ecore_x_image_get() where prior errors
can get caught.
2013-01-18 Jihoon Kim (jihoon)
* edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.

1
NEWS
View File

@ -122,3 +122,4 @@ Fixes:
* Evas text: Fixed issue with horiz advance.
* Evas text utils: Fixed issue with no-harfbuzz bidi.
* Fixed pixman surface alloc where allocated and image size differ.
* Fixed x11 error sync issue with ecore_x_image_get()

View File

@ -230,6 +230,8 @@ ecore_x_image_get(Ecore_X_Image *im,
return 0;
_ecore_x_image_err = 0;
ecore_x_sync();
// optimised path
ph = XSetErrorHandler((XErrorHandler)_ecore_x_image_error_handler);
if ((sx == 0) && (w == im->w))