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

invisible borders around context menu #1578

Open
Zerogaku opened this issue Mar 18, 2024 · 3 comments
Open

invisible borders around context menu #1578

Zerogaku opened this issue Mar 18, 2024 · 3 comments

Comments

@Zerogaku
Copy link

Zerogaku commented Mar 18, 2024

There appears to be invisible borders around context menus, I don't really know what is causing this, is there a way to prevent picom from acting on context menus?

Untitled
borders

@t-wissmann
Copy link
Member

See here: yshui/picom#552

@Zerogaku
Copy link
Author

Hi @t-wissmann! So adding these lines to my shadow exclude removes the border:

  "window_type = 'menu'",
  "window_type = 'dropdown_menu'",
  "window_type = 'popup_menu'",
  "window_type = 'tooltip'",
  "window_type = 'utility'"

But I'm assuming that the real issue is my wm, dwm, since it adds borders around most windows, so the 2 solutions are:

  • stick with this method that removes the shadows
  • or see if window borders can be removed around context menu items, thus keeping the shadows but removing the gap.

Unless there is some native picom feature that i'm missing that can that that?

@t-wissmann
Copy link
Member

or see if window borders can be removed around context menu items, thus keeping the shadows but removing the gap.

I quote from the aforementioned yshui/picom#552:

It looks like you are using a theme which draws its own shadows around menues. This results in the menu window being larger than the actually visible menu. The blur logic currently has no way of knowing what part of the window is the actual menu and what should be the background and can only blur the whole window leading to the observed effect.

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