diff options
author | 2021-03-12 01:15:08 +1100 | |
---|---|---|
committer | 2021-03-12 01:15:08 +1100 | |
commit | 4cf96da22c09651c1da2b27ee61028d558e7af49 (patch) | |
tree | 4482cdc706be33b29d050fb8b0f84c457ba20ba9 /src/osd/modules/input/input_sdlcommon.h | |
parent | b38a77bca54c007f995b9bb47687354d154b6be5 (diff) |
-A few incremental UI code improvements:
* Simplified message when toggling UI controls.
* Show actual configured UI toggle key, not misleading hard-coded text.
* Push window activated/deactivated events to UI manager.
* Simplified SDL window event handling code - events are pretty precise.
-Miscellaneous code cleanup.
Diffstat (limited to 'src/osd/modules/input/input_sdlcommon.h')
-rw-r--r-- | src/osd/modules/input/input_sdlcommon.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osd/modules/input/input_sdlcommon.h b/src/osd/modules/input/input_sdlcommon.h index ee13ce307dd..030a8ca4bd7 100644 --- a/src/osd/modules/input/input_sdlcommon.h +++ b/src/osd/modules/input/input_sdlcommon.h @@ -117,12 +117,10 @@ class sdl_event_manager : public event_manager_t<sdl_event_subscriber> { private: bool m_mouse_over_window; - bool m_has_focus; std::shared_ptr<sdl_window_info> m_focus_window; sdl_event_manager() : m_mouse_over_window(true), - m_has_focus(true), m_focus_window(nullptr) { } |