diff src/video/x11/SDL_x11shape.c @ 4802:f14a8c05f5bb

Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 18 Jul 2010 23:05:40 -0400
parents 6f0bc179771c
children c9eb95f29770
line wrap: on
line diff
--- a/src/video/x11/SDL_x11shape.c	Sun Jul 18 22:24:52 2010 -0400
+++ b/src/video/x11/SDL_x11shape.c	Sun Jul 18 23:05:40 2010 -0400
@@ -66,7 +66,7 @@
 		}
 	}
 	
-	window->shaper->usershownflag = window->flags & SDL_WINDOW_SHOWN;
+	window->shaper->usershownflag |= window->flags & SDL_WINDOW_SHOWN;
 	
 	return 0;
 }