Update modern.js
This commit is contained in:
@@ -410,10 +410,12 @@ class Tiler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_isException(win) {
|
_isException(win) {
|
||||||
return (
|
if (!win) return false;
|
||||||
!!win &&
|
|
||||||
this._exceptions.includes((win.get_wm_class() || "").toLowerCase())
|
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) {
|
_isTileable(win) {
|
||||||
|
|||||||
Reference in New Issue
Block a user