mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 21:59:04 +00:00
This PR adds Wayland support to gpui using [wayland-rs](https://github.com/Smithay/wayland-rs). It is based on [#7598](https://github.com/zed-industries/zed/pull/7598). It detects Wayland support at runtime by checking the existence of the `WAYLAND_DISPLAY` environment variable. If it does not exist or is empty, the X11 backend will be used. To use the X11 backend in a Wayland session (for development purposes), you just need to unset WAYLAND_DISPLAY (`WAYLAND_DISPLAY= cargo run ...`). At the moment it only creates the window and renders the initial content provided by `BladeRenderer`, so it can run "Hello world" example.  Todo: - [x] Add basic Wayland support. - [x] Add window resizing. - [x] Add window closing. - [x] Add window updating. - [ ] Implement input handling, fractional scaling, and support other Wayland protocols. - [ ] Implement all unimplemented todo!(linux). - [ ] Add window decorations or use custom decorations (like on MacOS). - [ ] Address other missing functionality. Release Notes: - N/A --------- Co-authored-by: gabydd <gabydinnerdavid@gmail.com> Co-authored-by: Mikayla Maki <mikayla@zed.dev> |
||
|---|---|---|
| .. | ||
| danger | ||
| eula | ||
| lib | ||
| licenses | ||
| update_top_ranking_issues | ||
| bootstrap | ||
| bump-nightly | ||
| bump-zed-minor-versions | ||
| bump-zed-patch-version | ||
| bundle | ||
| clear-target-dir-if-larger-than | ||
| clippy | ||
| crate-dep-graph | ||
| deploy-collab | ||
| deploy-postgrest | ||
| drop-test-dbs | ||
| evaluate_semantic_index | ||
| generate-eula-rtf | ||
| generate-licenses | ||
| get-changes-since | ||
| get-crate-version | ||
| get-preview-channel-changes | ||
| histogram | ||
| import-themes | ||
| kube-shell | ||
| linux | ||
| metal-debug | ||
| randomized-test-ci | ||
| randomized-test-minimize | ||
| reset_db | ||
| seed-db | ||
| sqlx | ||
| squawk | ||
| storybook | ||
| upload-nightly | ||
| what-is-deployed | ||
| zed-local | ||