src/video/x11/SDL_x11window.c
changeset 5182 073b86030262
parent 5088 455bc74f7034
child 5183 227d81a4b66c
--- a/src/video/x11/SDL_x11window.c	Fri Feb 04 16:55:50 2011 -0800
+++ b/src/video/x11/SDL_x11window.c	Fri Feb 04 18:05:20 2011 -0800
@@ -176,6 +176,7 @@
         } else {
             window->flags &= ~SDL_WINDOW_SHOWN;
         }
+        data->visual = attrib.visual;
     }
 
     {