better fix for iconbar bug
This commit is contained in:
parent
dd2e6c62b1
commit
20cb065cf3
2 changed files with 7 additions and 1 deletions
|
@ -220,6 +220,9 @@ void Ewmh::setupClient(WinClient &winclient) {
|
|||
if (!newtitle.empty()) {
|
||||
winclient.setIconTitle(newtitle);
|
||||
}
|
||||
|
||||
if ( winclient.fbwindow() )
|
||||
winclient.fbwindow()->titleSig().notify();
|
||||
}
|
||||
|
||||
void Ewmh::setupFrame(FluxboxWindow &win) {
|
||||
|
@ -913,11 +916,15 @@ bool Ewmh::propertyNotify(WinClient &winclient, Atom the_property) {
|
|||
FbTk::FbString newtitle = winclient.textProperty(the_property);
|
||||
if (!newtitle.empty())
|
||||
winclient.setTitle(newtitle);
|
||||
if (winclient.fbwindow())
|
||||
winclient.fbwindow()->titleSig().notify();
|
||||
return true;
|
||||
} else if (the_property == m_net_wm_icon_name) {
|
||||
FbTk::FbString newtitle = winclient.textProperty(the_property);
|
||||
if (!newtitle.empty())
|
||||
winclient.setIconTitle(newtitle);
|
||||
if (winclient.fbwindow())
|
||||
winclient.fbwindow()->titleSig().notify();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -355,7 +355,6 @@ void WinClient::setTitle(FbTk::FbString &title) {
|
|||
m_title_override = true;
|
||||
if (m_win)
|
||||
m_win->updateTitleFromClient(*this);
|
||||
m_title_override = false;
|
||||
}
|
||||
|
||||
void WinClient::setIconTitle(FbTk::FbString &icon_title) {
|
||||
|
|
Loading…
Reference in a new issue