diff options
| author | srdusr <[email protected]> | 2026-01-31 14:21:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2026-01-31 14:21:00 +0200 |
| commit | 76031dd8809701e39d3709451809851ad063bf73 (patch) | |
| tree | aab1c9361da8f074037300497a1176fd15650cbd /tools | |
| parent | 2a51fb86e2a123ff9e810a0b4105c9fe5f85e3ae (diff) | |
| download | srdwm-76031dd8809701e39d3709451809851ad063bf73.tar.gz srdwm-76031dd8809701e39d3709451809851ad063bf73.zip | |
Fix zathura's double titlebar by broadening the CSD-detection heuristic
Reported live, found via a screenshot of the user's real open window:
srdwm's own server-side titlebar stacked on top of zathura's own
girara-drawn header, same class of bug Firefox/Nemo needed a fix for.
likely_draws_own_titlebar only matched org.gnome.* app ids; zathura's
app id (org.pwmt.zathura) fell through it entirely, with no rules.lua
entry to catch it either.
Broadened the heuristic to also match org.pwmt.* - PWMT's small
toolset (zathura the only one in common use) shares GNOME's own
"always draws its own header" property, on the same live evidence
that justified org.gnome.* in the first place. No rules.lua entry
needed; the heuristic catches it automatically now.
Reproduced and confirmed fixed in a disposable nested compositor
(built, tested double-decoration, then rebuilt with the fix and
retested clean) - never the live session itself.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions