Skip to content

Detect SSH X11 forwarding for Avalonia decorations#4769

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
mamoreau-devolutions/x11-rendering-analysis
May 14, 2026
Merged

Detect SSH X11 forwarding for Avalonia decorations#4769
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
mamoreau-devolutions/x11-rendering-analysis

Conversation

@mamoreau-devolutions
Copy link
Copy Markdown
Contributor

Summary

  • Use native Linux window decorations for WSL and SSH-forwarded X11 sessions
  • Detect SSH X11 forwarding from DISPLAY plus SSH_CONNECTION/SSH_CLIENT
  • Add UNIGETUI_FORCE_NATIVE_LINUX_DECORATIONS override and log the selected decoration mode

Fixes #4687
Fixes #4656

Testing

  • dotnet build .\src\UniGetUI.Avalonia\UniGetUI.Avalonia.csproj --no-restore --nologo --verbosity minimal --tl:off -p:UseSharedCompilation=false -p:BuildProjectReferences=false -p:RunAnalyzers=false

Use native Linux window decorations for WSL and SSH-forwarded X11 sessions to avoid frameless rendering issues. Add an override environment variable and log the selected decoration mode.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit fc2bb08 into main May 14, 2026
3 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the mamoreau-devolutions/x11-rendering-analysis branch May 14, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

flicking and crash [BUG] windows flick and crash while using X11 && max-window

2 participants