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:
vayne 2006-08-28 18:42:01 +00:00
parent 8b636ad366
commit c83c0bea03
1 changed files with 1 additions and 1 deletions

View File

@ -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)