2018-09-10 00:42:26 +02:00
|
|
|
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
|
2018-10-26 22:29:25 +02:00
|
|
|
+++ SDL-1.2.15.mod/src/video/x11/SDL_x11video.c 2018-10-26 23:20:45.235391408 +0300
|
2018-09-10 00:42:26 +02:00
|
|
|
@@ -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;
|