From: Andre Ramnitz Date: Mon, 19 Oct 2026 19:51:50 +0000 (+0200) Subject: bugfix: raise windows going into fullscreen mode X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=8c2c51639f5c0c18f3159e9fbf1689f28158539e;p=simpledwindle.git bugfix: raise windows going into fullscreen mode add more items to FLOATING and IGNORED classes --- diff --git a/contents/code/main.js b/contents/code/main.js index a44ffb9..31358f2 100644 --- a/contents/code/main.js +++ b/contents/code/main.js @@ -1,7 +1,7 @@ "use strict"; // SimpleDwindle -const VERSION = "0.3.3"; +const VERSION = "0.3.4"; // KWin 6.8 - Minimal chronological Dwindle // ------------------------------------------------------------ @@ -17,25 +17,35 @@ const GAP = 8; // Floating by default, manually tileable via Meta+S const FLOATING_CLASSES = [ // "org.kde.dolphin", + // /^org\.kde.*/, + /^com\.system76\..*/, + "org.kde.dolphin", + "org.kde.ark", + "org.kde.kfind", + "org.kde.plasma.emojier", + "org.kde.filelight", + "org.kde.okular", + "org.kde.gwenview", + "org.kde.skanlite", "org.kde.kcalc", + "Threema", "systemsettings", - "okular", - "dolphin", "qtpass", "alsa-scarlett-gui", "lstopo", - "LACT", + "io.github.ilya_zlobintsev.LACT", "ncmpcpp", - "MissionCenter", - "gradia", + "io.missioncenter.MissionCenter", + "be.alexandervanhee.gradia", ]; // Completely ignored by SimpleDwindle const IGNORED_CLASSES = [ "wl-copy", + "Vial", "steam", "heroic", - /^steam_app.*$/, + /^steam_app.*/, /^.*\.exe$/i, /^xdg-desktop-portal/, /clipboard/i, @@ -421,6 +431,7 @@ function handleFullscreen(w) { // Temporarily release KWin's BelowLayer. // The tree node stays reserved. w.keepBelow = false; + workspace.raiseWindow(w); log("FULLSCREEN: " + w.caption); } else { diff --git a/metadata.json b/metadata.json index 2a1b53d..e684b3b 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "Id": "simpledwindle", "Name": "SimpleDwindle", "Description": "Minimal tiling and floating window manager", - "Version": "0.3.3", + "Version": "0.3.4", "License": "MIT" }, "X-Plasma-API": "javascript",