Function Window.foreign

Wraps SDL_GetWindowFlags to check whether the window is foreign

bool foreign() @property @trusted const;

Returns

true if the the window is foreign, otherwise false