diff options
-rw-r--r-- | src/FbTk/FbWindow.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 956415d..e098e11 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -79,7 +79,8 @@ FbWindow::FbWindow(int screen_num, | |||
79 | FbDrawable(), | 79 | FbDrawable(), |
80 | m_parent(0), | 80 | m_parent(0), |
81 | m_screen_num(screen_num), | 81 | m_screen_num(screen_num), |
82 | m_x(0), m_y(0), m_width(0), m_height(0), | 82 | m_window(0), |
83 | m_x(0), m_y(0), m_width(1), m_height(1), | ||
83 | m_border_width(0), | 84 | m_border_width(0), |
84 | m_border_color(0), | 85 | m_border_color(0), |
85 | m_depth(0), | 86 | m_depth(0), |
@@ -99,8 +100,12 @@ FbWindow::FbWindow(const FbWindow &parent, | |||
99 | bool override_redirect, | 100 | bool override_redirect, |
100 | bool save_unders, | 101 | bool save_unders, |
101 | unsigned int depth, int class_type): | 102 | unsigned int depth, int class_type): |
103 | FbDrawable(), | ||
102 | m_parent(&parent), | 104 | m_parent(&parent), |
103 | m_screen_num(parent.screenNumber()), | 105 | m_screen_num(parent.screenNumber()), |
106 | m_window(0), | ||
107 | m_x(0), m_y(0), | ||
108 | m_width(1), m_height(1), | ||
104 | m_destroy(true), | 109 | m_destroy(true), |
105 | m_lastbg_color_set(false), m_lastbg_color(0), | 110 | m_lastbg_color_set(false), m_lastbg_color(0), |
106 | m_lastbg_pm(0), m_renderer(0) { | 111 | m_lastbg_pm(0), m_renderer(0) { |