Skip to content

Commit

Permalink
XFlush() after setting the icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 6, 2012
1 parent f7e3d99 commit 7e1c4e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11wm.c
Expand Up @@ -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;
Expand Down

0 comments on commit 7e1c4e6

Please sign in to comment.