From 4cf96da22c09651c1da2b27ee61028d558e7af49 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 12 Mar 2021 01:15:08 +1100 Subject: -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. --- src/osd/modules/input/input_sdlcommon.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/osd/modules/input/input_sdlcommon.h') 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 { private: bool m_mouse_over_window; - bool m_has_focus; std::shared_ptr m_focus_window; sdl_event_manager() : m_mouse_over_window(true), - m_has_focus(true), m_focus_window(nullptr) { } -- cgit v1.2.3