xdo_get_viewport_dimensions

Query the viewport (your display) dimensions

If Xinerama is active and supported, that api internally is used. If Xineram is disabled, we will report the root window's dimensions for the given screen.

extern (C) nothrow @nogc
int
xdo_get_viewport_dimensions
(,
uint* width
,
uint* height
,
int screen
)

Meta