summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/AttentionNoticeHandler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/AttentionNoticeHandler.cc b/src/AttentionNoticeHandler.cc
index e2881af..a80934a 100644
--- a/src/AttentionNoticeHandler.cc
+++ b/src/AttentionNoticeHandler.cc
@@ -35,7 +35,8 @@ namespace {
35class ToggleFrameFocusCmd: public FbTk::Command { 35class ToggleFrameFocusCmd: public FbTk::Command {
36public: 36public:
37 ToggleFrameFocusCmd(WinClient &client): 37 ToggleFrameFocusCmd(WinClient &client):
38 m_client(client) {} 38 m_client(client),
39 m_state(false) {}
39 void execute() { 40 void execute() {
40 m_state ^= true; 41 m_state ^= true;
41 m_client.fbwindow()->setLabelButtonFocus(m_client, m_state); 42 m_client.fbwindow()->setLabelButtonFocus(m_client, m_state);