fixed some redraw issues with the title, thanks _markt

This commit is contained in:
fluxgen 2006-05-13 19:29:55 +00:00
parent e6a107e577
commit bd1221a5b2
2 changed files with 4 additions and 1 deletions

View file

@ -353,6 +353,8 @@ void WinClient::updateTitle() {
void WinClient::setTitle(FbTk::FbString &title) {
m_title = title;
m_title_override = true;
if (m_win)
m_win->updateTitleFromClient(*this);
}
void WinClient::setIconTitle(FbTk::FbString &icon_title) {

View file

@ -1158,6 +1158,8 @@ void FluxboxWindow::updateTitleFromClient(WinClient &client) {
m_labelbuttons[&client]->setText(client.title());
if (&client == m_client)
frame().setFocusTitle(client.title());
titleSig().notify();
}
}
@ -2515,7 +2517,6 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
client.updateIconTitle();
case XA_WM_NAME:
updateTitleFromClient(client);
titleSig().notify();
break;
case XA_WM_NORMAL_HINTS: {