summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-22 18:27:26 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-22 18:27:26 +0000
commit13f9b12dde2e16679e61dc0d45f1547ec889c43c (patch)
tree7d8270e89321762d21453f0cd4dbe48ad1b794ab /libvo
parenta57509942bfd633567070a8b8289720840a8c673 (diff)
downloadmpv-13f9b12dde2e16679e61dc0d45f1547ec889c43c.tar.bz2
mpv-13f9b12dde2e16679e61dc0d45f1547ec889c43c.tar.xz
10l
pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window() fixes xmga brokenness from r23675 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xmga.c2
-rw-r--r--libvo/vo_xover.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index db1656f4a6..4adb10f2f6 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -220,7 +220,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
} else
{
vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
- flags, InputOutput, "xmga", title);
+ flags, xWAttribs.colormap, "xmga", title);
}
if (vo_gc != None)
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index 2ec9f7dea3..88689714d6 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -302,7 +302,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
{
vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy,
window_width, window_height, flags,
- InputOutput, "xvidix", title);
+ xswa.colormap, "xvidix", title);
XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
}