diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/winwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index c629f68..937e8a2 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -983,7 +983,8 @@ void winwidget_get_geometry(winwidget winwid, int *rect) if (!rect) return; - XGetGeometry(disp, winwid->win, &root, &(rect[0]), &(rect[1]), &(rect[2]), &(rect[3]), &bw, &bp); + XGetGeometry(disp, winwid->win, &root, &(rect[0]), &(rect[1]), (unsigned + int *)&(rect[2]), (unsigned int *)&(rect[3]), &bw, &bp); XTranslateCoordinates(disp, winwid->win, root, 0, 0, &(rect[0]), &(rect[1]), &child); |