xdo_get_desktop_for_window

Get the desktop a window is on. Uses _NET_WM_DESKTOP of the EWMH spec.

If your desktop does not support _NET_WM_DESKTOP, then '*desktop' remains unmodified.

@param wid the window to query @param deskto pointer to long where the desktop of the window is stored

extern (C) nothrow @nogc
int
xdo_get_desktop_for_window
(
const xdo_t* xdo
,
Window wid
,
long* desktop
)

Meta