summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkinput-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdkinput-x11.c')
-rw-r--r--gdk/x11/gdkinput-x11.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk/x11/gdkinput-x11.c b/gdk/x11/gdkinput-x11.c
index 7f0ab8c37..80e9d0ded 100644
--- a/gdk/x11/gdkinput-x11.c
+++ b/gdk/x11/gdkinput-x11.c
@@ -72,9 +72,11 @@ gdk_input_get_root_relative_geometry(Display *dpy, Window w, int *x_ret, int *y_
{
Window root,parent;
Window *children;
- int nchildren;
- int x,y,width,height;
- int xc,yc,widthc,heightc,border_widthc,depthc;
+ guint nchildren;
+ gint x,y;
+ guint width, height;
+ gint xc,yc;
+ guint widthc,heightc,border_widthc,depthc;
XQueryTree(dpy,w,&root,&parent,&children,&nchildren);
if (children) XFree(children);