]> git.pld-linux.org Git - packages/fbdesk.git/blob - fbdesk-types.patch
- types patch by qboosh
[packages/fbdesk.git] / fbdesk-types.patch
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.027435 seconds and 3 git commands to generate.