[PR #1] [MERGED] Upgrade to latest Smithay #12

Closed
opened 2026-10-15 12:47:29 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gst-wayland-display/pull/1
Author: @ABeltramo
Created: 2/20/2024
Status: ✅ Merged
Merged: 2/26/2024
Merged by: @ABeltramo

Base: stable ← Head: upgrade-smithay


📝 Commits (10+)

  • 27f4c65 checkpoint: ported and fixed some errors, added todos..
  • f1e8e7e fix: more errors
  • b4e7828 feat: implemented pointer constraint protocol
  • 657b9ad fix: implemented unconstrain_popup
  • 09f8032 fix: input suggestions
  • 1402839 lost: DRM?
  • 3f0719e fix: FB format
  • c0c663b fix: removed extra Data struct, use State directly in event loop
  • ce73a57 fix: DrmHandler implementation and other missing bits
  • 63d9e80 fix: formats from video info, added sync before sending gstreamer buffer

📊 Changes

19 files changed (+704 additions, -406 deletions)

View changed files

📝 Cargo.lock (+230 -165)
📝 c-bindings/Cargo.toml (+2 -2)
📝 gst-plugin-wayland-display/Cargo.toml (+2 -2)
📝 wayland-display-core/Cargo.toml (+5 -5)
📝 wayland-display-core/src/comp/focus.rs (+81 -17)
📝 wayland-display-core/src/comp/input.rs (+96 -33)
📝 wayland-display-core/src/comp/mod.rs (+97 -91)
📝 wayland-display-core/src/comp/rendering.rs (+39 -35)
📝 wayland-display-core/src/utils/target.rs (+2 -2)
📝 wayland-display-core/src/wayland/handlers/compositor.rs (+16 -8)
📝 wayland-display-core/src/wayland/handlers/data_device.rs (+6 -1)
📝 wayland-display-core/src/wayland/handlers/dmabuf.rs (+8 -6)
📝 wayland-display-core/src/wayland/handlers/mod.rs (+1 -0)
➕ wayland-display-core/src/wayland/handlers/pointer_constraints.rs (+20 -0)
📝 wayland-display-core/src/wayland/handlers/relative_pointer.rs (+4 -1)
📝 wayland-display-core/src/wayland/handlers/seat.rs (+2 -2)
📝 wayland-display-core/src/wayland/handlers/wl_drm.rs (+19 -1)
📝 wayland-display-core/src/wayland/handlers/xdg.rs (+48 -14)
📝 wayland-display-core/src/wayland/protocols/wl_drm.rs (+26 -21)

📄 Description

This is mainly in order to add support for the pointer constraints Wayland protocol so that SDL will eventually pick up the relative mouse movements when going outside the edge of the window.

This turns out to be a huge refactor..


🔄 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/games-on-whales/gst-wayland-display/pull/1 **Author:** [@ABeltramo](https://github.com/ABeltramo) **Created:** 2/20/2024 **Status:** ✅ Merged **Merged:** 2/26/2024 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `upgrade-smithay` --- ### 📝 Commits (10+) - [`27f4c65`](https://github.com/games-on-whales/gst-wayland-display/commit/27f4c659f97db4071f813718077d90985d93ed48) checkpoint: ported and fixed some errors, added todos.. - [`f1e8e7e`](https://github.com/games-on-whales/gst-wayland-display/commit/f1e8e7e9c02e4f89ac0757d08a3fa1dc2fe29b53) fix: more errors - [`b4e7828`](https://github.com/games-on-whales/gst-wayland-display/commit/b4e782822d156f40fc289f16b185092dac847542) feat: implemented pointer constraint protocol - [`657b9ad`](https://github.com/games-on-whales/gst-wayland-display/commit/657b9ad24e8bbdfa1fd6eb263da28d488f64b037) fix: implemented unconstrain_popup - [`09f8032`](https://github.com/games-on-whales/gst-wayland-display/commit/09f80320a18b381a7f6047f767118dd1c40db975) fix: input suggestions - [`1402839`](https://github.com/games-on-whales/gst-wayland-display/commit/140283966c7c6f5364094ca3016f129e9588bf11) lost: DRM? - [`3f0719e`](https://github.com/games-on-whales/gst-wayland-display/commit/3f0719ea27a8bb87a612ca68e13f38c0b0d8a173) fix: FB format - [`c0c663b`](https://github.com/games-on-whales/gst-wayland-display/commit/c0c663b7a5fc48eda63aea85afe23798cbc7cf59) fix: removed extra Data struct, use State directly in event loop - [`ce73a57`](https://github.com/games-on-whales/gst-wayland-display/commit/ce73a57c5f668403cb5a2125837a56dc484fa3c0) fix: DrmHandler implementation and other missing bits - [`63d9e80`](https://github.com/games-on-whales/gst-wayland-display/commit/63d9e80081d54293718a26590e4ff8c19513b1b5) fix: formats from video info, added sync before sending gstreamer buffer ### 📊 Changes **19 files changed** (+704 additions, -406 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+230 -165) 📝 `c-bindings/Cargo.toml` (+2 -2) 📝 `gst-plugin-wayland-display/Cargo.toml` (+2 -2) 📝 `wayland-display-core/Cargo.toml` (+5 -5) 📝 `wayland-display-core/src/comp/focus.rs` (+81 -17) 📝 `wayland-display-core/src/comp/input.rs` (+96 -33) 📝 `wayland-display-core/src/comp/mod.rs` (+97 -91) 📝 `wayland-display-core/src/comp/rendering.rs` (+39 -35) 📝 `wayland-display-core/src/utils/target.rs` (+2 -2) 📝 `wayland-display-core/src/wayland/handlers/compositor.rs` (+16 -8) 📝 `wayland-display-core/src/wayland/handlers/data_device.rs` (+6 -1) 📝 `wayland-display-core/src/wayland/handlers/dmabuf.rs` (+8 -6) 📝 `wayland-display-core/src/wayland/handlers/mod.rs` (+1 -0) ➕ `wayland-display-core/src/wayland/handlers/pointer_constraints.rs` (+20 -0) 📝 `wayland-display-core/src/wayland/handlers/relative_pointer.rs` (+4 -1) 📝 `wayland-display-core/src/wayland/handlers/seat.rs` (+2 -2) 📝 `wayland-display-core/src/wayland/handlers/wl_drm.rs` (+19 -1) 📝 `wayland-display-core/src/wayland/handlers/xdg.rs` (+48 -14) 📝 `wayland-display-core/src/wayland/protocols/wl_drm.rs` (+26 -21) </details> ### 📄 Description This is mainly in order to add support for the [pointer constraints](https://wayland.app/protocols/pointer-constraints-unstable-v1) Wayland protocol so that SDL will eventually pick up the relative mouse movements when going outside the edge of the window. This turns out to be a huge refactor.. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:47:29 +00: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
games-on-whales/gst-wayland-display#12
No description provided.