diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-16 09:52:00 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-16 09:52:00 (GMT) |
commit | 772ec145952bfddc7888504f22859df1f24f8d5e (patch) | |
tree | 58356cf14f52792db6fda3c482a5b9865f711e56 /src/Slit.hh | |
parent | e37cad714c77b24e4421f5dc1b3d01fe685b637a (diff) | |
download | fluxbox-772ec145952bfddc7888504f22859df1f24f8d5e.zip fluxbox-772ec145952bfddc7888504f22859df1f24f8d5e.tar.bz2 |
Fix uninitialized variables; cosmetics
Note: I expect only modern compilers will hit the source of fluxbox. It
seems futile to guard stdlib headers while demanding <algorithm> etc. This
should trim down the noise in the source quite a bit.
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 5753565..92eac35 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -158,15 +158,16 @@ private: | |||
158 | 158 | ||
159 | struct frame { | 159 | struct frame { |
160 | frame(const FbTk::FbWindow &parent): | 160 | frame(const FbTk::FbWindow &parent): |
161 | pixmap(0), | ||
161 | window(parent, 0, 0, 10, 10, | 162 | window(parent, 0, 0, 10, 10, |
162 | SubstructureRedirectMask | ButtonPressMask | | 163 | SubstructureRedirectMask | ButtonPressMask | |
163 | EnterWindowMask | LeaveWindowMask | ExposureMask, | 164 | EnterWindowMask | LeaveWindowMask | ExposureMask, |
164 | true), // override redirect | 165 | true), // override redirect |
165 | x(0), y(0), x_hidden(0), y_hidden(0), | 166 | x(0), y(0), x_hidden(0), y_hidden(0), |
166 | width(10), height(10) {} | 167 | width(10), height(10) { } |
168 | |||
167 | Pixmap pixmap; | 169 | Pixmap pixmap; |
168 | FbTk::FbWindow window; | 170 | FbTk::FbWindow window; |
169 | |||
170 | int x, y, x_hidden, y_hidden; | 171 | int x, y, x_hidden, y_hidden; |
171 | unsigned int width, height; | 172 | unsigned int width, height; |
172 | } frame; | 173 | } frame; |