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_vk.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp') diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp index cdda375d8..de40b76bf 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp @@ -45,6 +45,7 @@ EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(InputCommon::InputSubsystem* input_subsyste if (fullscreen) { Fullscreen(); + ShowCursor(false); } switch (wm.subsystem) { -- cgit v1.2.3