aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2007-12-30 15:32:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2007-12-30 15:32:53 (GMT)
commit04cd2fd14c6f45f61457e034906f630ce46a76cc (patch)
tree67e2f2f7977c3e8525c2ae7eb30f593f7f440b82 /src/FbTk/FbWindow.hh
parent4cc810b0d39917d37fa08034ac7dd509292c9ce3 (diff)
downloadfluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.zip
fluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.tar.bz2
removed some unneeded headers
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index 863c2df..f266ec3 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -108,7 +108,7 @@ public:
108 virtual void move(int x, int y) { 108 virtual void move(int x, int y) {
109 if (x == m_x && y == m_y) 109 if (x == m_x && y == m_y)
110 return; 110 return;
111 XMoveWindow(s_display, m_window, x, y); 111 XMoveWindow(display(), m_window, x, y);
112 m_x = x; 112 m_x = x;
113 m_y = y; 113 m_y = y;
114 updateBackground(true); 114 updateBackground(true);
@@ -117,7 +117,7 @@ public:
117 virtual void resize(unsigned int width, unsigned int height) { 117 virtual void resize(unsigned int width, unsigned int height) {
118 if (width == m_width && height == m_height) 118 if (width == m_width && height == m_height)
119 return; 119 return;
120 XResizeWindow(s_display, m_window, width, height); 120 XResizeWindow(display(), m_window, width, height);
121 m_width = width; 121 m_width = width;
122 m_height = height; 122 m_height = height;
123 updateBackground(false); 123 updateBackground(false);
@@ -126,7 +126,7 @@ public:
126 virtual void moveResize(int x, int y, unsigned int width, unsigned int height) { 126 virtual void moveResize(int x, int y, unsigned int width, unsigned int height) {
127 if (x == m_x && y == m_y && width == m_width && height == m_height) 127 if (x == m_x && y == m_y && width == m_width && height == m_height)
128 return; 128 return;
129 XMoveResizeWindow(s_display, m_window, x, y, width, height); 129 XMoveResizeWindow(display(), m_window, x, y, width, height);
130 m_x = x; 130 m_x = x;
131 m_y = y; 131 m_y = y;
132 m_width = width; 132 m_width = width;
@@ -183,7 +183,6 @@ public:
183 unsigned char alpha() const; 183 unsigned char alpha() const;
184 int screenNumber() const; 184 int screenNumber() const;
185 long eventMask() const; 185 long eventMask() const;
186 Display *display() const { return s_display; }
187 186
188 /// compare X window 187 /// compare X window
189 bool operator == (Window win) const { return m_window == win; } 188 bool operator == (Window win) const { return m_window == win; }