aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-02-24 20:58:24 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-02-24 20:58:24 (GMT)
commit46fdf4d1b4043588b057fcc9a03f5f66b6b09354 (patch)
treece3e8f83a78d0909077e8c79dd45c50d23a65b45 /src/WinClient.hh
parent611b6aa57e34ed8e52cb6b88c9adbafe4d67c6e2 (diff)
downloadfluxbox-46fdf4d1b4043588b057fcc9a03f5f66b6b09354.zip
fluxbox-46fdf4d1b4043588b057fcc9a03f5f66b6b09354.tar.bz2
use _NET_WM_ICON property as resource for icons, fixed partly #1852693
instead of depending on proper icons in the old icccm wmhints, fluxbox now tries to get the icon data stored in _NET_WM_ICON
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 4712627..51d5077 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -59,11 +59,15 @@ public:
59 void updateWMProtocols(); 59 void updateWMProtocols();
60 60
61 // override the title with this 61 // override the title with this
62 void setTitle(FbTk::FbString &title); 62 void setTitle(const FbTk::FbString &title);
63 void updateTitle(); 63 void updateTitle();
64 /// updates transient window information 64 /// updates transient window information
65 void updateTransientInfo(); 65 void updateTransientInfo();
66 66
67 // override the icon with this
68 void setIcon(const FbTk::PixmapWithMask& pm);
69
70 // update some thints
67 void updateMWMHints(); 71 void updateMWMHints();
68 void updateWMHints(); 72 void updateWMHints();
69 void updateWMNormalHints(); 73 void updateWMNormalHints();
@@ -164,6 +168,7 @@ private:
164 int m_win_gravity; 168 int m_win_gravity;
165 169
166 bool m_title_override; 170 bool m_title_override;
171 bool m_icon_override;
167 172
168 Focusable::WindowType m_window_type; 173 Focusable::WindowType m_window_type;
169 MwmHints *m_mwm_hint; 174 MwmHints *m_mwm_hint;