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

Non-functional _NET_WM_WINDOW_TYPE_DESKTOP when configuring shadows via the rules section #1331

Open
raven2cz opened this issue Sep 4, 2024 · 1 comment

Comments

@raven2cz
Copy link

raven2cz commented Sep 4, 2024

According to the documentation:

-c, --shadow
    Enables client-side shadows on windows. Note that desktop windows (windows with _NET_WM_WINDOW_TYPE_DESKTOP) never receive shadows, unless explicitly requested using the wintypes option.

This applies to the standard older configuration. However, if you use a new configuration with shadow, defined via rules, then _NET_WM_WINDOW_TYPE_DESKTOP no longer applies and everything gets shadows, which is incorrect.

I have to add rule:

 {
   match = "_NET_WM_WINDOW_TYPE = '_NET_WM_WINDOW_TYPE_DESKTOP'";
   shadow = false;
 },
@Monsterovich
Copy link
Contributor

How about match = "window_type = 'desktop'"?

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