better fix for iconbar bug
fluxgen fluxgen
2 files changed,
7 insertions(+),
1 deletions(-)
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -220,6 +220,9 @@ newtitle = winclient.textProperty(m_net_wm_icon_name);
if (!newtitle.empty()) { winclient.setIconTitle(newtitle); } + + if ( winclient.fbwindow() ) + winclient.fbwindow()->titleSig().notify(); } void Ewmh::setupFrame(FluxboxWindow &win) {@@ -913,11 +916,15 @@ } else if (the_property == m_net_wm_name) {
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; }
M
src/WinClient.cc
→
src/WinClient.cc
@@ -355,7 +355,6 @@ m_title = title;
m_title_override = true; if (m_win) m_win->updateTitleFromClient(*this); - m_title_override = false; } void WinClient::setIconTitle(FbTk::FbString &icon_title) {