Don't display mouse. Set window title immediately.
This commit is contained in:
parent
5ae20a9f3c
commit
8d8dce7d2b
|
@ -261,8 +261,11 @@ static bool gfx_ctx_set_video_mode(
|
||||||
if (!g_hwnd)
|
if (!g_hwnd)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
gfx_ctx_update_window_title(true);
|
||||||
|
|
||||||
if (!fullscreen)
|
if (!fullscreen)
|
||||||
{
|
{
|
||||||
|
ShowCursor(FALSE);
|
||||||
ShowWindow(g_hwnd, SW_RESTORE);
|
ShowWindow(g_hwnd, SW_RESTORE);
|
||||||
UpdateWindow(g_hwnd);
|
UpdateWindow(g_hwnd);
|
||||||
SetForegroundWindow(g_hwnd);
|
SetForegroundWindow(g_hwnd);
|
||||||
|
|
Loading…
Reference in New Issue