diff --git a/src/world/clientState/Tiled.ts b/src/world/clientState/Tiled.ts index ff0f7fa..656331e 100644 --- a/src/world/clientState/Tiled.ts +++ b/src/world/clientState/Tiled.ts @@ -1,7 +1,7 @@ namespace ClientState { export class Tiled implements State { public readonly window: Window; - private readonly defaultState: { skipSwitcher: boolean }; + private readonly defaultState: Tiled.WindowState; private readonly signalManager: SignalManager; constructor(world: World, client: ClientWrapper, grid: Grid) { @@ -158,7 +158,7 @@ namespace ClientState { client.setMaximize(false, false); } - private static restoreClientAfterTiling(client: ClientWrapper, config: LayoutConfig, defaultState: { skipSwitcher: boolean }, screenSize: QRect) { + private static restoreClientAfterTiling(client: ClientWrapper, config: LayoutConfig, defaultState: Tiled.WindowState, screenSize: QRect) { if (config.skipSwitcher) { client.kwinClient.skipSwitcher = defaultState.skipSwitcher; } @@ -173,4 +173,10 @@ namespace ClientState { client.ensureVisible(screenSize); } } + + namespace Tiled { + export type WindowState = { + skipSwitcher: boolean, + } + } }