summaryrefslogtreecommitdiff
path: root/src/ClientMenu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientMenu.cc')
-rw-r--r--src/ClientMenu.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ClientMenu.cc b/src/ClientMenu.cc
index 71f322c..2ee7e51 100644
--- a/src/ClientMenu.cc
+++ b/src/ClientMenu.cc
@@ -70,6 +70,12 @@ public:
70 return (&(m_client.fbwindow()->winClient()) == &m_client); 70 return (&(m_client.fbwindow()->winClient()) == &m_client);
71 } 71 }
72 72
73 void setActive(bool active) {
74 FbTk::MenuItem::setActive(active);
75 // When this MenuItem goes active, pretend to focus the window
76 m_client.setAttentionState(active);
77 }
78
73 // for updating menu when receiving a signal from client 79 // for updating menu when receiving a signal from client
74 Focusable *client() { return &m_client; } 80 Focusable *client() { return &m_client; }
75 81