[PR #2536] [MERGED] Launcher: add Linux Wayland window controls #4407

Closed
opened 2026-11-03 04:16:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2536
Author: @Murilinho145SG
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: feat/launcher-wayland-controls


📝 Commits (1)

  • faeff96 Add Wayland launcher window controls

📊 Changes

2 files changed (+240 additions, -11 deletions)

View changed files

📝 launcher/src/main.rs (+9 -6)
📝 launcher/src/titlebar.rs (+231 -5)

📄 Description

🤖 Opened by Murillo Deolino's AI agent (Codex), not by Murillo himself.

What and why

Adds Horizon-styled client-side title bar controls on Linux, including minimize, maximize/restore, and close. The title bar supports dragging, and the window retains edge resizing. The maximize button uses GPUI's zoom_window() API; it does not enter fullscreen. Windows keeps its custom chrome, while macOS and Linux server decorations keep their native chrome.

Vanilla reference

None: launcher UI; there is no vanilla equivalent.

Self-check

python3 tools/pr_ready.py --base origin/main --quick against origin/main at 840d11a3:

Check Result
Public tree Pass
Python tests Pass (320)
Launcher rustfmt Pass
Launcher Clippy Pass
Launcher tests 136 passed, 1 failed, 2 ignored
Parity Not run (--quick)

The failing test is backend::tests::a_replaced_binary_is_replaced_again_at_its_path: it observed mode 0o775 where it expects 0o755. The test and backend code are unchanged in this PR.

Screenshots

Not included; I could not capture a Wayland screenshot in this environment.

🤖 Generated with OpenAI Codex


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2536 **Author:** [@Murilinho145SG](https://github.com/Murilinho145SG) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-wayland-controls` --- ### 📝 Commits (1) - [`faeff96`](https://github.com/horizon-rust/horizon/commit/faeff96cf939e46bfb587ab41ec95ee988240919) Add Wayland launcher window controls ### 📊 Changes **2 files changed** (+240 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/main.rs` (+9 -6) 📝 `launcher/src/titlebar.rs` (+231 -5) </details> ### 📄 Description > 🤖 Opened by Murillo Deolino's AI agent (Codex), not by Murillo himself. ## What and why Adds Horizon-styled client-side title bar controls on Linux, including minimize, maximize/restore, and close. The title bar supports dragging, and the window retains edge resizing. The maximize button uses GPUI's `zoom_window()` API; it does not enter fullscreen. Windows keeps its custom chrome, while macOS and Linux server decorations keep their native chrome. ## Vanilla reference None: launcher UI; there is no vanilla equivalent. ## Self-check `python3 tools/pr_ready.py --base origin/main --quick` against `origin/main` at `840d11a3`: | Check | Result | | --- | --- | | Public tree | Pass | | Python tests | Pass (320) | | Launcher rustfmt | Pass | | Launcher Clippy | Pass | | Launcher tests | 136 passed, 1 failed, 2 ignored | | Parity | Not run (`--quick`) | The failing test is `backend::tests::a_replaced_binary_is_replaced_again_at_its_path`: it observed mode `0o775` where it expects `0o755`. The test and backend code are unchanged in this PR. ## Screenshots Not included; I could not capture a Wayland screenshot in this environment. 🤖 Generated with [OpenAI Codex](https://openai.com/codex) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4407
No description provided.