mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
Fixed fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d7b1d1c88d
commit
8840c8bac6
@ -283,6 +283,8 @@ if (vo_window == None)
|
||||
d_width = vo_screenwidth;
|
||||
d_height = vo_screenheight;
|
||||
}
|
||||
window_width = vo_screenwidth;
|
||||
window_height = vo_screenheight;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -296,7 +298,7 @@ if (vo_window == None)
|
||||
window_depth = 24;
|
||||
XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
|
||||
|
||||
xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
|
||||
xswa.background_pixel = vo_fs ? BlackPixel(mDisplay, mScreen) : fgColor;
|
||||
xswa.border_pixel = 0;
|
||||
xswa.colormap = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
|
||||
vinfo.visual, AllocNone);
|
||||
|
Loading…
Reference in New Issue
Block a user