Skip to main content

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

ParameterTypeDescription
windowIdstring-
shouldBeDesktopOnlyboolean-
callbackCallbackFunction<WindowIdResult>-

Returns

void

Deprecated

Since version 0.159.