That only means they need to depend on the xlib headers, not the library.
They could use xcb and convert themselves.. but the whole of <gdk/gdkx.h>
does seem to be rather wired into the Xlib world, yes. It's not just the
types, it's what the functions *do*.