diff options
| author | JMC47 <JMC4789@gmail.com> | 2021-05-27 11:42:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-27 11:42:35 -0400 |
| commit | 45a5c9cc043db4f531b9f84227469141549b5c45 (patch) | |
| tree | 08e062e21cb1a5eec41502f34b30c77288286b11 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | 52a388af9a92b7142972b5a37294cf926707be91 (diff) | |
| parent | 3c7c2dfaa10fc837f75d7e71d71b483db343dee3 (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.cpp | 6 |
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(); |
