Created
January 18, 2011 09:59
-
-
Save koo5/784241 to your computer and use it in GitHub Desktop.
sdl 1.2.14 patch for making a compositing window manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/SDL-1.2.14/src/video/x11/SDL_x11events.c b/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
index da57528..d0ce0f3 100644 | |
--- a/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
+++ b/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
@@ -817,7 +817,7 @@ printf("MapNotify!\n"); | |
#ifdef DEBUG_XEVENTS | |
printf("ConfigureNotify! (resize: %dx%d)\n", xevent.xconfigure.width, xevent.xconfigure.height); | |
#endif | |
- if(SDL_Window == xevent.xconfigure.window) | |
+ if(WMwindow == xevent.xconfigure.window) | |
{ | |
if ( SDL_VideoSurface ) { | |
if ((xevent.xconfigure.width != SDL_VideoSurface->w) || |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment