summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-10-16 19:52:44 (GMT)
committerfluxgen <fluxgen>2006-10-16 19:52:44 (GMT)
commit7875a103b76e457474c444f7a19e39a572ef2147 (patch)
treeb979286db2854893fe78b489866d21a322f4db3b /src
parent857e96049b0b0b795ac5cb17ea19d972c9aa9de9 (diff)
downloadfluxbox_lack-7875a103b76e457474c444f7a19e39a572ef2147.zip
fluxbox_lack-7875a103b76e457474c444f7a19e39a572ef2147.tar.bz2
initialize m_state
Diffstat (limited to 'src')
-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);