From 54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Dec 2012 23:21:27 +0300 Subject: Allow hide popup list if focus lost. --- src/gui/focushandler.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gui/focushandler.h') diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h index e881c9aea..12a639c0e 100644 --- a/src/gui/focushandler.h +++ b/src/gui/focushandler.h @@ -60,15 +60,17 @@ class FocusHandler final : public gcn::FocusHandler * Removes a widget from the focus handler. Also makes sure no dangling * pointers remain in modal focus stack. */ - void remove(gcn::Widget *widget); + void remove(gcn::Widget *widget) override; /** * Overloaded to allow windows to move to the top when one of their * widgets is tabbed to when tabbing through focusable elements. */ - void tabNext(); + void tabNext() override; - void tabPrevious(); + void tabPrevious() override; + + void distributeFocusGainedEvent(const gcn::Event &focusEvent) override; private: /** -- cgit v1.2.3-60-g2f50