X11 - moved X11 specific window.h functionality to internal headers