aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-06-19 18:31:36 (GMT)
committerfluxgen <fluxgen>2006-06-19 18:31:36 (GMT)
commit20cb065cf32eff75dc4142aef56f63aba959b8ce (patch)
treea253f7d2df9eeca583ac7afc2ef2ce155035410c /src/Ewmh.cc
parentdd2e6c62b178e9ec5933c5b9246ddb5e6f990cd1 (diff)
downloadfluxbox-20cb065cf32eff75dc4142aef56f63aba959b8ce.zip
fluxbox-20cb065cf32eff75dc4142aef56f63aba959b8ce.tar.bz2
better fix for iconbar bug
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index b80c4cf..502c92c 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -220,6 +220,9 @@ void Ewmh::setupClient(WinClient &winclient) {
220 if (!newtitle.empty()) { 220 if (!newtitle.empty()) {
221 winclient.setIconTitle(newtitle); 221 winclient.setIconTitle(newtitle);
222 } 222 }
223
224 if ( winclient.fbwindow() )
225 winclient.fbwindow()->titleSig().notify();
223} 226}
224 227
225void Ewmh::setupFrame(FluxboxWindow &win) { 228void Ewmh::setupFrame(FluxboxWindow &win) {
@@ -913,11 +916,15 @@ bool Ewmh::propertyNotify(WinClient &winclient, Atom the_property) {
913 FbTk::FbString newtitle = winclient.textProperty(the_property); 916 FbTk::FbString newtitle = winclient.textProperty(the_property);
914 if (!newtitle.empty()) 917 if (!newtitle.empty())
915 winclient.setTitle(newtitle); 918 winclient.setTitle(newtitle);
919 if (winclient.fbwindow())
920 winclient.fbwindow()->titleSig().notify();
916 return true; 921 return true;
917 } else if (the_property == m_net_wm_icon_name) { 922 } else if (the_property == m_net_wm_icon_name) {
918 FbTk::FbString newtitle = winclient.textProperty(the_property); 923 FbTk::FbString newtitle = winclient.textProperty(the_property);
919 if (!newtitle.empty()) 924 if (!newtitle.empty())
920 winclient.setIconTitle(newtitle); 925 winclient.setIconTitle(newtitle);
926 if (winclient.fbwindow())
927 winclient.fbwindow()->titleSig().notify();
921 return true; 928 return true;
922 } 929 }
923 930