diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 7 |
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 | ||
225 | void Ewmh::setupFrame(FluxboxWindow &win) { | 228 | void 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 | ||