Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Add Wayland specific exception for Firefox's secondary windows #270

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions contents/code/ignored.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ ignored.isIgnored = function(client) {
return true;
}

// HACK: On Wayland, Firefox's secondary windows doesn't have any resourceName
// so we check for their captions.
if (["Firefox — Sharing Indicator"].includes(client.caption)) {
print("Ignoring client because of firefox workaround", client.caption);
return true;
}

// KFind is annoying. It sets the window type to dialog (which is arguably wrong) and more importantly sets
// the transient_for property for some bogus "Qt Client Leader Window".
//
Expand Down