diff options
author | fluxgen <fluxgen> | 2003-02-23 16:52:17 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-23 16:52:17 (GMT) |
commit | 7be1fe89548dd90dbf52bd57613c97644f6f502a (patch) | |
tree | 607e1197d06e2ded2b296d8fbd124dc8013039fb /src/FbTk/FbWindow.cc | |
parent | ecfeae295b80983df83760c892546c9e598b991a (diff) | |
download | fluxbox-7be1fe89548dd90dbf52bd57613c97644f6f502a.zip fluxbox-7be1fe89548dd90dbf52bd57613c97644f6f502a.tar.bz2 |
fixed minor type issue
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index eb91c42..5c0b2d2 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.6 2003/02/03 13:39:57 fluxgen Exp $ | 22 | // $Id: FbWindow.cc,v 1.7 2003/02/23 16:52:16 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWindow.hh" | 24 | #include "FbWindow.hh" |
25 | 25 | ||
@@ -157,9 +157,10 @@ void FbWindow::updateGeometry() { | |||
157 | return; | 157 | return; |
158 | 158 | ||
159 | Window root; | 159 | Window root; |
160 | size_t border_width, depth; | 160 | unsigned int border_width, depth; |
161 | XGetGeometry(s_display, m_window, &root, &m_x, &m_y, | 161 | XGetGeometry(s_display, m_window, &root, &m_x, &m_y, |
162 | &m_width, &m_height, &border_width, &depth); | 162 | (unsigned int *)&m_width, (unsigned int *)&m_height, |
163 | &border_width, &depth); | ||
163 | } | 164 | } |
164 | 165 | ||
165 | void FbWindow::create(Window parent, int x, int y, | 166 | void FbWindow::create(Window parent, int x, int y, |