mirror of https://github.com/mpv-player/mpv
Remove X11 backing store: this is now a useless flag.
Also, it is mandatory for Xserver 1.5.x (part of Xorg 7.4, shipped on all Linux distributions starting from Oct. 08) and will be removed from Xserver 1.6 anyhow ... Patch by Stephane Marchesin (marchesin at icps dot u dash strasbg dot fr). For more info, see long flame thread at: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-August/058323.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27849 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
860fbafb95
commit
b086fadb3d
|
@ -1240,7 +1240,7 @@ Window vo_x11_create_smooth_window(Display * mDisplay, Window mRoot,
|
|||
unsigned int width, unsigned int height,
|
||||
int depth, Colormap col_map)
|
||||
{
|
||||
unsigned long xswamask = CWBackingStore | CWBorderPixel;
|
||||
unsigned long xswamask = CWBorderPixel;
|
||||
XSetWindowAttributes xswa;
|
||||
Window ret_win;
|
||||
|
||||
|
@ -1251,7 +1251,7 @@ Window vo_x11_create_smooth_window(Display * mDisplay, Window mRoot,
|
|||
}
|
||||
xswa.background_pixel = 0;
|
||||
xswa.border_pixel = 0;
|
||||
xswa.backing_store = Always;
|
||||
xswa.backing_store = NotUseful;
|
||||
xswa.bit_gravity = StaticGravity;
|
||||
|
||||
ret_win =
|
||||
|
|
Loading…
Reference in New Issue