From b086fadb3d684274149a818308cc9d3b352e3cad Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 29 Oct 2008 22:03:36 +0000 Subject: 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 --- libvo/x11_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 233a10bbf1..ed58a6134c 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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 = -- cgit v1.2.3