aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-05-13 19:29:55 (GMT)
committerfluxgen <fluxgen>2006-05-13 19:29:55 (GMT)
commitbd1221a5b26826fb102ea5e99c169ea404415b07 (patch)
tree72ddb41479f104fe354f2dfd30d9aa134f8008b1
parente6a107e577f0c494680d6a389bd75d21b532e0cd (diff)
downloadfluxbox-bd1221a5b26826fb102ea5e99c169ea404415b07.zip
fluxbox-bd1221a5b26826fb102ea5e99c169ea404415b07.tar.bz2
fixed some redraw issues with the title, thanks _markt
-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: {