mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 16:50:41 +01:00
Portal: keep the first valid frame on a fresh session (#2); CI builds wayland,portal
A new portal session started with was_locked=true, so the first unlocked capture reset the cached frame. A static desktop delivers no new PipeWire frame, so the viewer stayed black until something redrew. Only an observed lock (or a closed stream) now discards the cached frame; an unknown lock state shows a blank frame without clearing it. CI now also builds and tests --features wayland,portal on ubuntu-24.04. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
bff7ad320e
commit
1a3348dfe9
2 files changed
+29
-4
No files matched your search
@@ -18,3 +18,17 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo test --locked
|
||||
|
||||
test-wayland:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install build dependencies (X11 + Wayland + portal)
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential pkg-config \
|
||||
libx11-dev libxext-dev libxtst-dev libxfixes-dev libgtk-3-dev \
|
||||
libwayland-dev libxkbcommon-dev libglib2.0-dev libpipewire-0.3-dev
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo test --locked --features wayland,portal
|
||||
Reference in new issue
Block a user