1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00

Make vo_x11_fullscreen not break vo_border (proper support still needs vo changes)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27335 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-07-22 18:33:53 +00:00
parent bcfdec7746
commit 839d579160

View File

@ -1562,7 +1562,7 @@ void vo_x11_fullscreen(void)
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs
{
vo_x11_decoration(mDisplay, vo_window, (vo_fs) ? 0 : 1);
vo_x11_decoration(mDisplay, vo_window, vo_border && !vo_fs);
vo_x11_sizehint(x, y, w, h, 0);
vo_x11_setlayer(mDisplay, vo_window, vo_fs);