Window.getDisplayIndex

Returns the index of the display which contains the center of the window

Note: If something went wrong (e.g. your Window is invalid), a negative value is returned

struct Window
@nogc
int
getDisplayIndex
nothrow
(
)

Meta