fixed some redraw issues with the title, thanks _markt
This commit is contained in:
parent
e6a107e577
commit
bd1221a5b2
2 changed files with 4 additions and 1 deletions
|
@ -353,6 +353,8 @@ void WinClient::updateTitle() {
|
||||||
void WinClient::setTitle(FbTk::FbString &title) {
|
void WinClient::setTitle(FbTk::FbString &title) {
|
||||||
m_title = title;
|
m_title = title;
|
||||||
m_title_override = true;
|
m_title_override = true;
|
||||||
|
if (m_win)
|
||||||
|
m_win->updateTitleFromClient(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WinClient::setIconTitle(FbTk::FbString &icon_title) {
|
void WinClient::setIconTitle(FbTk::FbString &icon_title) {
|
||||||
|
|
|
@ -1158,6 +1158,8 @@ void FluxboxWindow::updateTitleFromClient(WinClient &client) {
|
||||||
m_labelbuttons[&client]->setText(client.title());
|
m_labelbuttons[&client]->setText(client.title());
|
||||||
if (&client == m_client)
|
if (&client == m_client)
|
||||||
frame().setFocusTitle(client.title());
|
frame().setFocusTitle(client.title());
|
||||||
|
|
||||||
|
titleSig().notify();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2515,7 +2517,6 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
|
||||||
client.updateIconTitle();
|
client.updateIconTitle();
|
||||||
case XA_WM_NAME:
|
case XA_WM_NAME:
|
||||||
updateTitleFromClient(client);
|
updateTitleFromClient(client);
|
||||||
titleSig().notify();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case XA_WM_NORMAL_HINTS: {
|
case XA_WM_NORMAL_HINTS: {
|
||||||
|
|
Loading…
Reference in a new issue