]> git.pld-linux.org Git - packages/fbdesk.git/blame - fbdesk-types.patch
- types patch by qboosh
[packages/fbdesk.git] / fbdesk-types.patch
CommitLineData
c20729c1
JB
1--- fbdesk-1.1.5/src/FbTk/FbWindow.cc.orig 2003-01-26 13:05:04.000000000 +0100
2+++ fbdesk-1.1.5/src/FbTk/FbWindow.cc 2004-07-10 14:17:24.848613031 +0200
3@@ -166,9 +166,12 @@
4 return;
5
6 Window root;
7- size_t border_width, depth;
8+ unsigned int border_width, depth;
9+ unsigned int tmp_width = m_width, tmp_height = m_height;
10 XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
11- &m_width, &m_height, &border_width, &depth);
12+ &tmp_width, &tmp_height, &border_width, &depth);
13+ m_width = tmp_width;
14+ m_height = tmp_height;
15 }
16
17 void FbWindow::create(Window parent, int x, int y,
This page took 0.096855 seconds and 4 git commands to generate.