[MPlayer-cvslog] r19577 - trunk/Gui/win32/gui.c
vayne
subversion at mplayerhq.hu
Mon Aug 28 20:42:02 CEST 2006
Author: vayne
Date: Mon Aug 28 20:42:01 2006
New Revision: 19577
Modified:
trunk/Gui/win32/gui.c
Log:
bug fix for starting gmplayer with -fs when using the sub window
Modified: trunk/Gui/win32/gui.c
==============================================================================
--- trunk/Gui/win32/gui.c (original)
+++ trunk/Gui/win32/gui.c Mon Aug 28 20:42:01 2006
@@ -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)
More information about the MPlayer-cvslog
mailing list