# HG changeset patch # User vayne # Date 1156790521 0 # Node ID a894b3a3d28cf327d491f01b47bcc47ca1a3c135 # Parent e9ea7852e8032c8454ea66865b036bacc73b29cd bug fix for starting gmplayer with -fs when using the sub window diff -r e9ea7852e803 -r a894b3a3d28c Gui/win32/gui.c --- a/Gui/win32/gui.c Mon Aug 28 18:40:22 2006 +0000 +++ b/Gui/win32/gui.c Mon Aug 28 18:42:01 2006 +0000 @@ -1375,7 +1375,7 @@ /* 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)