prefer-no-csd
as a window rule property
#800
Replies: 2 comments 3 replies
-
The reason it works as it does is because SDL2 for a long while had a bug causing windows to never open if the compositor had the xdg-decoration global but used it to ask the client for CSD. There are now lots of games bundling SDL2 versions with this bug. So when prefer-no-csd is unset, niri completely hides xdg-decoration from clients. What could maybe work is having a separate client-rule section that matches on things associated with a process id (e.g. executable name) and can selectively enable the xdg-decoration global to trigger SSD for select clients or at runtime. |
Beta Was this translation helpful? Give feedback.
-
Alacritty can turn off its own decorations. Open alacritty.toml and add the line 'decorations = "None"' to the section [window]. |
Beta Was this translation helpful? Give feedback.
-
I'm not against CSD, so don't really want to disable them as the toplevel, but would for example prefer
alacritty
not to have a title bar. For this reason I tried seeing ifprefer-no-csd
was available as a window-rule:but it isn't. If this seems like a sensible change, I'd be happy trying to PR it!
Beta Was this translation helpful? Give feedback.
All reactions