]> git.pld-linux.org Git - packages/fbdesk.git/commitdiff
- use proper types for XGetGeometry() call (fixes build on 64-bit archs)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 10 Jul 2004 12:22:19 +0000 (12:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fbdesk-types.patch -> 1.1

fbdesk-types.patch [new file with mode: 0644]

diff --git a/fbdesk-types.patch b/fbdesk-types.patch
new file mode 100644 (file)
index 0000000..84a1d11
--- /dev/null
@@ -0,0 +1,17 @@
+--- fbdesk-1.1.5/src/FbTk/FbWindow.cc.orig     2003-01-26 13:05:04.000000000 +0100
++++ fbdesk-1.1.5/src/FbTk/FbWindow.cc  2004-07-10 14:17:24.848613031 +0200
+@@ -166,9 +166,12 @@
+         return;
+     Window root;
+-    size_t border_width, depth;
++    unsigned int border_width, depth;
++    unsigned int tmp_width = m_width, tmp_height = m_height;
+     XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
+-                 &m_width, &m_height, &border_width, &depth);
++                 &tmp_width, &tmp_height, &border_width, &depth);
++    m_width = tmp_width;
++    m_height = tmp_height;
+ }
+ void FbWindow::create(Window parent, int x, int y,
This page took 0.069742 seconds and 4 git commands to generate.