From 8d8dce7d2bbbde931829984d7b3893923c8f079c Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 30 Sep 2012 15:08:11 +0200 Subject: [PATCH] Don't display mouse. Set window title immediately. --- gfx/context/wgl_ctx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/context/wgl_ctx.c b/gfx/context/wgl_ctx.c index 29d35343ce..febb40084a 100644 --- a/gfx/context/wgl_ctx.c +++ b/gfx/context/wgl_ctx.c @@ -261,8 +261,11 @@ static bool gfx_ctx_set_video_mode( if (!g_hwnd) goto error; + gfx_ctx_update_window_title(true); + if (!fullscreen) { + ShowCursor(FALSE); ShowWindow(g_hwnd, SW_RESTORE); UpdateWindow(g_hwnd); SetForegroundWindow(g_hwnd);