From 7e1c4e60e0e5c80a65fef5f3e4bbc8ea127da112 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 5 Oct 2012 23:18:53 -0400 Subject: [PATCH] XFlush() after setting the icon. --- src/video/x11/SDL_x11wm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/x11/SDL_x11wm.c b/src/video/x11/SDL_x11wm.c index cb77a78f7..a8a0a5ef1 100644 --- a/src/video/x11/SDL_x11wm.c +++ b/src/video/x11/SDL_x11wm.c @@ -128,6 +128,7 @@ void X11_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask) SDL_FreeSurface(surface); SDL_free(propdata); + XFlush(SDL_Display); SDL_Unlock_EventThread(); return;