summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 1ad789d..145dc8e 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1065,6 +1065,7 @@ bool FluxboxWindow::setCurrentClient(WinClient &client, bool setinput) {
1065 1065
1066 m_client = &client; 1066 m_client = &client;
1067 m_client->raise(); 1067 m_client->raise();
1068 m_client->focusSig().notify();
1068 titleSig().notify(); 1069 titleSig().notify();
1069 1070
1070#ifdef DEBUG 1071#ifdef DEBUG
@@ -1081,6 +1082,19 @@ bool FluxboxWindow::setCurrentClient(WinClient &client, bool setinput) {
1081 return false; 1082 return false;
1082} 1083}
1083 1084
1085void FluxboxWindow::setLabelButtonFocus(WinClient &client, bool value) {
1086 // make sure it's in our list
1087 if (client.fbwindow() != this)
1088 return;
1089
1090 frame().setLabelButtonFocus(*m_labelbuttons[&client], value);
1091}
1092
1093void FluxboxWindow::setAttentionState(bool value) {
1094 m_attention_state = value;
1095 m_attentionsig.notify();
1096}
1097
1084bool FluxboxWindow::isGroupable() const { 1098bool FluxboxWindow::isGroupable() const {
1085 if (isResizable() && isMaximizable() && !winClient().isTransient()) 1099 if (isResizable() && isMaximizable() && !winClient().isTransient())
1086 return true; 1100 return true;
@@ -2095,8 +2109,11 @@ void FluxboxWindow::setFocusFlag(bool focus) {
2095 } 2109 }
2096 2110
2097 // did focus change? notify listeners 2111 // did focus change? notify listeners
2098 if (was_focused != focus) 2112 if (was_focused != focus) {
2099 m_focussig.notify(); 2113 m_focussig.notify();
2114 if (m_client)
2115 m_client->focusSig().notify();
2116 }
2100} 2117}
2101 2118
2102 2119