diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-21 14:05:44 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-21 14:05:44 (GMT) |
commit | 533c70cb570c56a586f8946700f57a832128a705 (patch) | |
tree | 72540dbd91014a29d10c9f798fd17f6a59c71504 /src/WinClient.cc | |
parent | 0116a83aa6b5275cbe3cd2bd851dc6959cacf79b (diff) | |
download | fluxbox-533c70cb570c56a586f8946700f57a832128a705.zip fluxbox-533c70cb570c56a586f8946700f57a832128a705.tar.bz2 |
some cleanup
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 14414b0..bded700 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -66,7 +66,7 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin): | |||
66 | Focusable(screen, fbwin), FbTk::FbWindow(win), | 66 | Focusable(screen, fbwin), FbTk::FbWindow(win), |
67 | transient_for(0), | 67 | transient_for(0), |
68 | window_group(0), | 68 | window_group(0), |
69 | x(0), y(0), old_bw(0), | 69 | old_bw(0), |
70 | initial_state(0), | 70 | initial_state(0), |
71 | normal_hint_flags(0), | 71 | normal_hint_flags(0), |
72 | wm_hint_flags(0), | 72 | wm_hint_flags(0), |
@@ -81,6 +81,7 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin): | |||
81 | m_mwm_hint(0), | 81 | m_mwm_hint(0), |
82 | m_strut(0) { | 82 | m_strut(0) { |
83 | 83 | ||
84 | old_bw = borderWidth(); | ||
84 | updateWMProtocols(); | 85 | updateWMProtocols(); |
85 | updateMWMHints(); | 86 | updateMWMHints(); |
86 | updateWMHints(); | 87 | updateWMHints(); |
@@ -367,13 +368,6 @@ void WinClient::setIcon(const FbTk::PixmapWithMask& pm) { | |||
367 | titleSig().notify(); | 368 | titleSig().notify(); |
368 | } | 369 | } |
369 | 370 | ||
370 | void WinClient::saveBlackboxAttribs(FluxboxWindow::BlackboxAttributes &blackbox_attribs, int nelements) { | ||
371 | changeProperty(FbAtoms::instance()->getFluxboxAttributesAtom(), | ||
372 | XA_CARDINAL, 32, PropModeReplace, | ||
373 | (unsigned char *)&blackbox_attribs, | ||
374 | nelements); | ||
375 | } | ||
376 | |||
377 | void WinClient::setFluxboxWindow(FluxboxWindow *win) { | 371 | void WinClient::setFluxboxWindow(FluxboxWindow *win) { |
378 | m_fbwin = win; | 372 | m_fbwin = win; |
379 | } | 373 | } |