summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WinClient.cc2
-rw-r--r--src/Window.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 891dc26..82027da 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -353,6 +353,8 @@ void WinClient::updateTitle() {
353void WinClient::setTitle(FbTk::FbString &title) { 353void WinClient::setTitle(FbTk::FbString &title) {
354 m_title = title; 354 m_title = title;
355 m_title_override = true; 355 m_title_override = true;
356 if (m_win)
357 m_win->updateTitleFromClient(*this);
356} 358}
357 359
358void WinClient::setIconTitle(FbTk::FbString &icon_title) { 360void WinClient::setIconTitle(FbTk::FbString &icon_title) {
diff --git a/src/Window.cc b/src/Window.cc
index 60ecaca..cbcb1f7 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1158,6 +1158,8 @@ void FluxboxWindow::updateTitleFromClient(WinClient &client) {
1158 m_labelbuttons[&client]->setText(client.title()); 1158 m_labelbuttons[&client]->setText(client.title());
1159 if (&client == m_client) 1159 if (&client == m_client)
1160 frame().setFocusTitle(client.title()); 1160 frame().setFocusTitle(client.title());
1161
1162 titleSig().notify();
1161 } 1163 }
1162} 1164}
1163 1165
@@ -2515,7 +2517,6 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
2515 client.updateIconTitle(); 2517 client.updateIconTitle();
2516 case XA_WM_NAME: 2518 case XA_WM_NAME:
2517 updateTitleFromClient(client); 2519 updateTitleFromClient(client);
2518 titleSig().notify();
2519 break; 2520 break;
2520 2521
2521 case XA_WM_NORMAL_HINTS: { 2522 case XA_WM_NORMAL_HINTS: {