summaryrefslogtreecommitdiffstats
path: root/mplayer_vo_x11.diff
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:54:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:54:13 +0000
commit092be7678b67552cb3161fe162242bf8d3aeed2f (patch)
treebe0693f45b101252c370e40f6e84da2cd7a52f75 /mplayer_vo_x11.diff
downloadkmplayer-092be7678b67552cb3161fe162242bf8d3aeed2f.tar.gz
kmplayer-092be7678b67552cb3161fe162242bf8d3aeed2f.zip
Added old abandoned KDE3 version of kmplayer
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1091557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mplayer_vo_x11.diff')
-rw-r--r--mplayer_vo_x11.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/mplayer_vo_x11.diff b/mplayer_vo_x11.diff
new file mode 100644
index 0000000..992ce15
--- /dev/null
+++ b/mplayer_vo_x11.diff
@@ -0,0 +1,28 @@
+--- libvo/vo_x11.c.orig Thu Dec 26 18:18:31 2002
++++ libvo/vo_x11.c Thu Dec 26 19:58:49 2002
+@@ -294,12 +294,12 @@
+ bg=WhitePixel( mDisplay,mScreen );
+ fg=BlackPixel( mDisplay,mScreen );
+
+- theCmap=vo_x11_create_colormap(&vinfo);
++ //theCmap=vo_x11_create_colormap(&vinfo);
+
+ xswa.background_pixel=0;
+ xswa.border_pixel=0;
+- xswa.colormap=theCmap;
+- xswamask=CWBackPixel | CWBorderPixel | CWColormap;
++ //xswa.colormap=theCmap;
++ xswamask=CWBackPixel | CWBorderPixel;// | CWColormap;
+
+ #ifdef HAVE_XF86VM
+ if ( vm )
+@@ -321,6 +321,9 @@
+ }
+ else
+ {
++ theCmap=vo_x11_create_colormap(&vinfo);
++ xswa.colormap=theCmap;
++ xswamask=CWBackPixel | CWBorderPixel | CWColormap;
+ if ( vo_window == None )
+ {
+ vo_window=XCreateWindow( mDisplay,mRootWin,