# HG changeset patch # User ben # Date 1225317816 0 # Node ID f92271dc5f17adc51443ce3f7aeaabee4253af8c # Parent 1bc1d241f635defa806d0f0e06993fc53378a7f9 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 diff -r 1bc1d241f635 -r f92271dc5f17 libvo/x11_common.c --- a/libvo/x11_common.c Wed Oct 29 06:34:09 2008 +0000 +++ b/libvo/x11_common.c Wed Oct 29 22:03:36 2008 +0000 @@ -1240,7 +1240,7 @@ 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 @@ } xswa.background_pixel = 0; xswa.border_pixel = 0; - xswa.backing_store = Always; + xswa.backing_store = NotUseful; xswa.bit_gravity = StaticGravity; ret_win =