summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-05-27 11:42:35 -0400
committerGitHub <noreply@github.com>2021-05-27 11:42:35 -0400
commit45a5c9cc043db4f531b9f84227469141549b5c45 (patch)
tree08e062e21cb1a5eec41502f34b30c77288286b11 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent52a388af9a92b7142972b5a37294cf926707be91 (diff)
parent3c7c2dfaa10fc837f75d7e71d71b483db343dee3 (diff)
Merge pull request #9697 from Filoppi/cursor_locking
Implement Cursor Locking and 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();