mirror of https://github.com/mpv-player/mpv
bug fix for starting gmplayer with -fs when using the sub window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19577 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8b636ad366
commit
c83c0bea03
|
@ -1375,7 +1375,7 @@ extern int create_subwindow(gui_t *gui, char *skindir)
|
|||
/* our window aspect */
|
||||
sub_aspect = (float)(rect.right-rect.left)/(rect.bottom-rect.top);
|
||||
|
||||
style = WS_OVERLAPPEDWINDOW | WS_SYSMENU | WS_MINIMIZEBOX;
|
||||
style = fullscreen?WS_VISIBLE | WS_POPUP:WS_OVERLAPPEDWINDOW | WS_SYSMENU | WS_MINIMIZEBOX;
|
||||
AdjustWindowRect(&rect, style, 0);
|
||||
|
||||
if (gui_sub_pos_x >= 0)
|
||||
|
|
Loading…
Reference in New Issue