aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.hh')
-rw-r--r--src/Slit.hh5
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;