diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-01-02 21:44:16 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-01-02 21:44:16 (GMT) |
commit | b73411a95ffadf8d5c98429b49b08f86071b11dc (patch) | |
tree | 0f25b203d2b52dbd44775e3c4889ca662c040098 /src/FbTk/FbWindow.hh | |
parent | d24e2aae6ed435d045990b6e3ce95de2df629be7 (diff) | |
download | fluxbox_pavel-b73411a95ffadf8d5c98429b49b08f86071b11dc.zip fluxbox_pavel-b73411a95ffadf8d5c98429b49b08f86071b11dc.tar.bz2 |
moved seldom used code to where it is actually used, no need to include code into compilation when its not needed
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index f266ec3..b8de60e 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -244,29 +244,6 @@ private: | |||
244 | 244 | ||
245 | bool operator == (Window win, const FbWindow &fbwin); | 245 | bool operator == (Window win, const FbWindow &fbwin); |
246 | 246 | ||
247 | /// helper class for some STL routines | ||
248 | class ChangeProperty { | ||
249 | public: | ||
250 | ChangeProperty(Display *disp, Atom prop, int mode, | ||
251 | unsigned char *state, int num):m_disp(disp), | ||
252 | m_prop(prop), | ||
253 | m_state(state), | ||
254 | m_num(num), | ||
255 | m_mode(mode){ | ||
256 | |||
257 | } | ||
258 | void operator () (FbTk::FbWindow *win) { | ||
259 | XChangeProperty(m_disp, win->window(), m_prop, m_prop, 32, m_mode, | ||
260 | m_state, m_num); | ||
261 | } | ||
262 | private: | ||
263 | Display *m_disp; | ||
264 | Atom m_prop; | ||
265 | unsigned char *m_state; | ||
266 | int m_num; | ||
267 | int m_mode; | ||
268 | }; | ||
269 | |||
270 | /// Interface class to render FbWindow foregrounds. | 247 | /// Interface class to render FbWindow foregrounds. |
271 | class FbWindowRenderer { | 248 | class FbWindowRenderer { |
272 | public: | 249 | public: |