aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index b5b02c8..9b2b976 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.14 2003/05/06 23:50:31 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.15 2003/05/10 13:26:37 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "EventManager.hh" 25#include "EventManager.hh"
@@ -34,7 +34,7 @@ namespace FbTk {
34Display *FbWindow::s_display = 0; 34Display *FbWindow::s_display = 0;
35 35
36FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0), 36FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0),
37 m_width(0), m_height(0), m_border_width(0), m_destroy(true) { 37 m_width(0), m_height(0), m_border_width(0), m_depth(0), m_destroy(true) {
38 38
39 if (s_display == 0) 39 if (s_display == 0)
40 s_display = App::instance()->display(); 40 s_display = App::instance()->display();
@@ -184,6 +184,7 @@ void FbWindow::updateGeometry() {
184 XGetGeometry(s_display, m_window, &root, &m_x, &m_y, 184 XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
185 (unsigned int *)&m_width, (unsigned int *)&m_height, 185 (unsigned int *)&m_width, (unsigned int *)&m_height,
186 &border_width, &depth); 186 &border_width, &depth);
187 m_depth = depth;
187} 188}
188 189
189void FbWindow::create(Window parent, int x, int y, 190void FbWindow::create(Window parent, int x, int y,