summaryrefslogtreecommitdiffstats
path: root/Gui/win32
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/win32')
-rw-r--r--Gui/win32/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/win32/gui.c b/Gui/win32/gui.c
index 054e4fbea6..99852563da 100644
--- a/Gui/win32/gui.c
+++ b/Gui/win32/gui.c
@@ -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)