File bsc953861-fix-tearing.patch of Package SDL.12362
Index: SDL-1.2.15/src/video/x11/SDL_x11video.c
===================================================================
--- SDL-1.2.15.orig/src/video/x11/SDL_x11video.c
+++ SDL-1.2.15/src/video/x11/SDL_x11video.c
@@ -1088,7 +1088,7 @@ static int X11_CreateWindow(_THIS, SDL_S
}
}
-#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 */