22 lines
802 B
Diff
22 lines
802 B
Diff
|
diff -uNr SDL-1.2.15/src/video/x11/SDL_x11video.c SDL-1.2.15.mod/src/video/x11/SDL_x11video.c
|
||
|
--- SDL-1.2.15/src/video/x11/SDL_x11video.c 2012-01-19 08:30:06.000000000 +0200
|
||
|
+++ SDL-1.2.15.mod/src/video/x11/SDL_x11video.c 2017-11-26 00:27:59.101353657 +0200
|
||
|
@@ -1088,7 +1088,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-#if 0 /* This is an experiment - are the graphics faster now? - nope. */
|
||
|
+#if 1 /* This is an experiment - are the graphics faster now? - nope. */
|
||
|
if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") )
|
||
|
#endif
|
||
|
/* Cache the window in the server, when possible */
|
||
|
@@ -1177,8 +1177,6 @@
|
||
|
current = NULL;
|
||
|
goto done;
|
||
|
}
|
||
|
- X11_PendingConfigureNotifyWidth = width;
|
||
|
- X11_PendingConfigureNotifyHeight = height;
|
||
|
} else {
|
||
|
if (X11_CreateWindow(this,current,width,height,bpp,flags) < 0) {
|
||
|
current = NULL;
|