diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-15 23:21:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-15 23:52:24 +0300 |
commit | 54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 (patch) | |
tree | 4bcee0ad9757bc328bae9c0435a3a1e8d85f1676 /src/gui/focushandler.h | |
parent | 62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4 (diff) | |
download | plus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.gz plus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.bz2 plus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.xz plus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.zip |
Allow hide popup list if focus lost.
Diffstat (limited to 'src/gui/focushandler.h')
-rw-r--r-- | src/gui/focushandler.h | 8 |
1 files changed, 5 insertions, 3 deletions
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: /** |