XFlush() after setting the icon. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 05 Oct 2012 23:18:53 -0400
branchSDL-1.2
changeset 6563 ba187d0466e6
parent 6561 ea34ef329509
child 6572 0d391c407a4f
XFlush() after setting the icon.
src/video/x11/SDL_x11wm.c
--- a/src/video/x11/SDL_x11wm.c	Fri Oct 05 22:41:02 2012 -0400
+++ b/src/video/x11/SDL_x11wm.c	Fri Oct 05 23:18:53 2012 -0400
@@ -128,6 +128,7 @@
 		SDL_FreeSurface(surface);
 		SDL_free(propdata);
 
+		XFlush(SDL_Display);
 		SDL_Unlock_EventThread();
 
 		return;