From d00d514d307e56b4010f0f7784664ca615be7ef2 Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Tue, 5 Nov 2024 21:48:35 +0100 Subject: [PATCH] stop setting keepAbove in destroy methods of Floating and Pinned --- src/lib/world/clientState/Floating.ts | 3 --- src/lib/world/clientState/Pinned.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/lib/world/clientState/Floating.ts b/src/lib/world/clientState/Floating.ts index 7499d48..c216150 100644 --- a/src/lib/world/clientState/Floating.ts +++ b/src/lib/world/clientState/Floating.ts @@ -18,9 +18,6 @@ namespace ClientState { public destroy(passFocus: boolean) { this.signalManager.destroy(); - if (this.config.floatingKeepAbove) { - this.client.kwinClient.keepAbove = false; - } } // TODO: move to `Tiled.restoreClientAfterTiling` diff --git a/src/lib/world/clientState/Pinned.ts b/src/lib/world/clientState/Pinned.ts index 1fbbd57..4850a3a 100644 --- a/src/lib/world/clientState/Pinned.ts +++ b/src/lib/world/clientState/Pinned.ts @@ -19,9 +19,6 @@ namespace ClientState { public destroy(passFocus: boolean) { this.signalManager.destroy(); - if (this.config.floatingKeepAbove) { - this.kwinClient.keepAbove = true; - } this.pinManager.removeClient(this.kwinClient); for (const desktop of this.desktopManager.getDesktopsForClient(this.kwinClient)) { desktop.onPinsChanged();