overwolf.windows.setDesktopOnly
Overwolf APIs / overwolf / overwolf / windows / setDesktopOnly
function setDesktopOnly(
windowId: string,
shouldBeDesktopOnly: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;
Sets whether the window should be injected to games or not.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | - |
shouldBeDesktopOnly | boolean | - |
callback | CallbackFunction<WindowIdResult> | - |
Returns
void
Deprecated
Since version 0.159.