Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show desktop action hides the desktop as well... #17

Open
smedir opened this issue Nov 13, 2023 · 1 comment
Open

Show desktop action hides the desktop as well... #17

smedir opened this issue Nov 13, 2023 · 1 comment

Comments

@smedir
Copy link

smedir commented Nov 13, 2023

https://github.com/amarullz/windowgestures/blob/2473192d5791fabc5a3a6c7e4ec83a7c93f61bb8/src/extension.js#L1824C25-L1824C25

I write and maintain the desktop icons extension, gtk4-ding. The show desktop action also hides the desktop icons window that shows the icons on the desktop. This kind of beats the point of showing the desktop.

Suggest-

_isWindowBlacklist(win) {
        if (win) {
            if (WindowClassBlacklist.indexOf(win.get_wm_class()) == -1 ||
                    win.get_window_type() === Meta.WindowType.DESKTOP) {
                return false;
            }
        }
        return true;
    }
@amarullz
Copy link
Owner

Will fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants