Skip to content

fix: route through XWayland on GNOME for window decorations#3

Merged
PFigs merged 2 commits into
mainfrom
fix-gnome-window-decorations
May 13, 2026
Merged

fix: route through XWayland on GNOME for window decorations#3
PFigs merged 2 commits into
mainfrom
fix-gnome-window-decorations

Conversation

@PFigs

@PFigs PFigs commented May 12, 2026

Copy link
Copy Markdown
Owner

On GNOME, unset WAYLAND_DISPLAY so the window goes through XWayland and picks up server-side decorations from mutter-x11-frames, since Mutter refuses xdg-decoration SSD and GPUI does not draw CSD. Set CLAUDIO_FORCE_WAYLAND to opt out.

PFigs added 2 commits May 12, 2026 14:30
GNOME/Mutter refuses xdg-decoration server-side mode and GPUI does not
draw its own CSD, leaving the window chromeless. Unsetting WAYLAND_DISPLAY
when XWayland is available makes the window go through mutter-x11-frames
which provides SSD. Other Wayland compositors honor SSD natively and are
unaffected. Set CLAUDIO_FORCE_WAYLAND to opt out.

Assisted-By: Claude Code
pfigs
- Add Default impls and allow attributes for unused fields
- Replace filter().last() with rfind() and (a+b-1)/b with div_ceil
- Collapse nested if-let chains and derive Default where possible
- Drop unused Python imports in ml_service
- Use uvx for ruff in CI so it doesn't require project dep

Assisted-By: Claude Code
Pedro Silva
@PFigs PFigs marked this pull request as ready for review May 13, 2026 06:22
@PFigs PFigs merged commit 3b2b2dc into main May 13, 2026
2 checks passed
@PFigs PFigs deleted the fix-gnome-window-decorations branch May 13, 2026 06:23
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

Successfully merging this pull request may close these issues.

1 participant