~brandontschaefer/libsdl/add-mir-support-patch-sdl1.2

« back to all changes in this revision

Viewing changes to src/video/x11/SDL_x11video.c

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Timo Jyrinki
  • Date: 2014-05-06 10:04:08 UTC
  • mfrom: (48.1.2 trunk)
  • Revision ID: package-import@ubuntu.com-20140506100408-56mh5f130j0gg1xg
Tags: 1.2.15-9ubuntu2
* Restore accidentally-clobbered changes from 1.2.15-8ubuntu2.

[ Timo Jyrinki ]
* debian/patches/sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch:
  - Restore old backingstore behavior to prevent tearing
    (LP: #1280665)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1088
1088
                }
1089
1089
        }
1090
1090
 
1091
 
#if 0 /* This is an experiment - are the graphics faster now? - nope. */
1092
1091
        if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") )
1093
 
#endif
1094
 
        /* Cache the window in the server, when possible */
 
1092
        /* Cache the window in the server when possible, on request */
1095
1093
        {
1096
1094
                Screen *xscreen;
1097
1095
                XSetWindowAttributes a;