aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/clientwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/clientwin.h')
-rw-r--r--apps/xwininfo/clientwin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/xwininfo/clientwin.h b/apps/xwininfo/clientwin.h
index 9fc59b5eb..05aa20293 100644
--- a/apps/xwininfo/clientwin.h
+++ b/apps/xwininfo/clientwin.h
@@ -22,8 +22,10 @@
#ifndef _CLIENTWIN_H_
#define _CLIENTWIN_H_
-#include <X11/Xlib.h>
+#include <xcb/xcb.h>
+#include <xcb/xproto.h>
-extern Window Find_Client(Display * dpy, Window root, Window target_win);
+extern xcb_window_t Find_Client(xcb_connection_t * dpy, xcb_window_t root,
+ xcb_window_t target_win);
#endif