aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LogicCommands.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-11-22 20:21:47 (GMT)
committermarkt <markt>2007-11-22 20:21:47 (GMT)
commitbb6906fa80c06fc23975d7520b3e8919423a29b4 (patch)
tree214427a1221e350ce62e08e0656678d260ccf10f /src/FbTk/LogicCommands.hh
parent58cd017db04b83d0cb3b24882d1ba7471ec4d6e1 (diff)
downloadfluxbox_pavel-bb6906fa80c06fc23975d7520b3e8919423a29b4.zip
fluxbox_pavel-bb6906fa80c06fc23975d7520b3e8919423a29b4.tar.bz2
added special FocusIn/Out MouseOver/Out ChangeWorkspace keys
Diffstat (limited to 'src/FbTk/LogicCommands.hh')
-rw-r--r--src/FbTk/LogicCommands.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/LogicCommands.hh b/src/FbTk/LogicCommands.hh
index a94dad8..4f20864 100644
--- a/src/FbTk/LogicCommands.hh
+++ b/src/FbTk/LogicCommands.hh
@@ -38,10 +38,10 @@ public:
38 RefCount<Command> &t, RefCount<Command> &f): 38 RefCount<Command> &t, RefCount<Command> &f):
39 m_cond(cond), m_t(t), m_f(f) { } 39 m_cond(cond), m_t(t), m_f(f) { }
40 void execute() { 40 void execute() {
41 if (m_cond->bool_execute()) 41 if (m_cond->bool_execute()) {
42 m_t->execute(); 42 if (*m_t) m_t->execute();
43 else 43 } else
44 m_f->execute(); 44 if (*m_f) m_f->execute();
45 } 45 }
46 46
47private: 47private: