mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
a57509942b
commit
13f9b12dde
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue