Skip to content

Commit

Permalink
Add Meta.WindowType.DESKTOP into blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
amarullz committed Nov 13, 2023
1 parent 2473192 commit 70f4d68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ class Manager {

_isWindowBlacklist(win) {
if (win) {
if (WindowClassBlacklist.indexOf(win.get_wm_class()) == -1) {
if (WindowClassBlacklist.indexOf(win.get_wm_class()) == -1 ||
win.get_window_type() === Meta.WindowType.DESKTOP) {
return false;
}
}
Expand Down

1 comment on commit 70f4d68

@amarullz
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#17

Please sign in to comment.