[MPlayer-cvslog] r27849 - trunk/libvo/x11_common.c

ben subversion at mplayerhq.hu
Wed Oct 29 23:03:39 CET 2008


Author: ben
Date: Wed Oct 29 23:03:36 2008
New Revision: 27849

Log:
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



Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	(original)
+++ trunk/libvo/x11_common.c	Wed Oct 29 23:03:36 2008
@@ -1240,7 +1240,7 @@ Window vo_x11_create_smooth_window(Displ
                                    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(Displ
     }
     xswa.background_pixel = 0;
     xswa.border_pixel = 0;
-    xswa.backing_store = Always;
+    xswa.backing_store = NotUseful;
     xswa.bit_gravity = StaticGravity;
 
     ret_win =



More information about the MPlayer-cvslog mailing list