summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorFiloppi <filippotarpini@hotmail.it>2021-05-09 13:28:04 +0300
committerFiloppi <filippotarpini@hotmail.it>2021-05-27 10:31:12 +0300
commit3c7c2dfaa10fc837f75d7e71d71b483db343dee3 (patch)
tree516ec8f5bb1a145ac6b244d97453d22b55e9a596 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parentff08b85740f52394433ebc2a49c22b324c858dc7 (diff)
Implement Cursor Locking and new input focus checks for it
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index 7c64a5cbeb..dceecc789c 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -98,6 +98,12 @@ bool Host_RendererHasFocus()
return s_platform->IsWindowFocused();
}
+bool Host_RendererHasFullFocus()
+{
+ // Mouse capturing isn't implemented
+ return Host_RendererHasFocus();
+}
+
bool Host_RendererIsFullscreen()
{
return s_platform->IsWindowFullscreen();