Skip to content

Windows client: support the Linux host - #4

Merged
sciamop merged 3 commits into
mainfrom
windows-linux-host
Oct 9, 2026
Merged

sciamop merged 3 commits into
mainfrom
windows-linux-host

Conversation

@sciamop

@sciamop sciamop commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • The Windows client says os:windows in its hello. iframe-linux-host now treats Windows clients like Linux ones (⌘ → Super), and the Mac host ignores the field.
  • On a Linux host, keys map one-to-one: Ctrl → Ctrl and the Windows key → Super, so it opens the desktop's menu in fullscreen. The Mac-only Ctrl/Command swap is ignored.
  • Discovered hosts are marked Mac or Linux, and the UI and error messages use neutral wording.
  • Linux host: linux_client is renamed to pc_client because it now covers Windows clients too. This is merged with the cursor-forwarding changes from main, so the startup log line reports both the ⌘ mapping and who draws the cursor.

Test plan

  • Build the Linux host after the merge
  • Connect from the Windows client to a Linux host and check Ctrl, Alt and the Windows key
  • Connect from the Windows client to a Mac host and check that its behavior is unchanged

🤖 Generated with Claude Code

sciamop and others added 3 commits October 5, 2026 15:56
- Say "os":"windows" in the hello. iframe-linux-host now treats Windows
  clients like Linux ones (⌘ → Super), and the Mac host ignores the field.
- On a Linux host, map keys one-to-one: Ctrl → Ctrl, Windows key →
  Super (so it opens the desktop's menu in fullscreen); the Mac-only
  Ctrl/Command swap is ignored.
- Mark discovered hosts as Mac or Linux and use neutral wording in the
  UI and error messages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	Windows/src/session.cjs
#	Windows/ui/app.mjs
…-linux-host

# Conflicts:
#	LinuxHost/src/main.c
@sciamop
sciamop merged commit a8dfc17 into main Oct 9, 2026
2 checks passed
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