summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-29 22:03:36 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-29 22:03:36 +0000
commitb086fadb3d684274149a818308cc9d3b352e3cad (patch)
tree1ade7d651b745aa9da0835f3e43732fb7ae95d90 /libvo
parent860fbafb95634ee02fadba4b6b6b07af604f28f5 (diff)
downloadmpv-b086fadb3d684274149a818308cc9d3b352e3cad.tar.bz2
mpv-b086fadb3d684274149a818308cc9d3b352e3cad.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c4
1 files changed, 2 insertions, 2 deletions
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 =