diff --git a/examples/x11-foreign.c b/examples/x11-foreign.c index 701256263..2bf97bc30 100644 --- a/examples/x11-foreign.c +++ b/examples/x11-foreign.c @@ -10,7 +10,7 @@ update_cogl_x11_event_mask (CoglOnscreen *onscreen, guint32 event_mask, void *user_data) { - XDisplay *xdpy = user_data; + Display *xdpy = user_data; XSetWindowAttributes attrs; guint32 xwin;