Skip to content

Commit

Permalink
Hide windows can handle per workspace dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
freimair committed Nov 9, 2022
1 parent 6a45c0e commit 714bdb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quake-mode@repsac-by.github.com/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ function setTray(show) {

function setupOverview(hide) {
if (hide) {
const has = window => [...apps.values()].some(app => app.win === window);
const has = window => Array.from(quakeModeApps.values()).reduce((result, item) => [...result, ...Array.from(item.values())], []).some(app => app.win === window);

Workspace.prototype._isOverviewWindow = window => {
const show = _isOverviewWindow(window);
return show && !has(window);
Expand Down

0 comments on commit 714bdb6

Please sign in to comment.