Previously people used GDK_GPOINTER_TO_NATIVE_WINDOW() for this, but native windows are going away, so we need a replacement.
Now gdkx.h is a clean header equivalent to gdk.h.