From f9c1aee61099300e0bce7a7a3256cdd934042368 Mon Sep 17 00:00:00 2001 From: Dome Date: Mon, 28 Jul 2025 00:40:55 +0200 Subject: [PATCH] Update modern.js --- modern.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modern.js b/modern.js index 916c9f5..892f214 100644 --- a/modern.js +++ b/modern.js @@ -410,10 +410,12 @@ class Tiler { } _isException(win) { - return ( - !!win && - this._exceptions.includes((win.get_wm_class() || "").toLowerCase()) - ); + if (!win) return false; + + const wmClass = (win.get_wm_class() || "").toLowerCase(); + const appId = (win.get_gtk_application_id() || "").toLowerCase(); + + return this._exceptions.includes(wmClass) || this._exceptions.includes(appId); } _isTileable(win) {