mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Implement Cursor Locking and new input focus checks for it
This commit is contained in:
parent
ff08b85740
commit
3c7c2dfaa1
25 changed files with 400 additions and 15 deletions
|
@ -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();
|
||||
|
|
|
@ -51,6 +51,6 @@ protected:
|
|||
Common::Flag m_shutdown_requested{false};
|
||||
Common::Flag m_tried_graceful_shutdown{false};
|
||||
|
||||
bool m_window_focus = true;
|
||||
bool m_window_focus = true; // Should be made atomic if actually implemented
|
||||
bool m_window_fullscreen = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue