From 3e2614148353342284b06899080e4707804eecf5 Mon Sep 17 00:00:00 2001 From: san Date: Sun, 1 Aug 2021 21:46:13 +0200 Subject: yuzu-cmd: hide cursor when in fullscreen Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor. --- src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp') diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp index 5b98c255b..a075ad08a 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp @@ -111,6 +111,7 @@ EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsyste if (fullscreen) { Fullscreen(); + ShowCursor(false); } window_context = SDL_GL_CreateContext(render_window); -- cgit v1.2.3