Skip to content

Fix freeze and zoom capture on newer wlroots screencopy stacks#247

Merged
devmobasa merged 1 commit into
mainfrom
fix/241-sway-screencopy
Jun 8, 2026
Merged

Fix freeze and zoom capture on newer wlroots screencopy stacks#247
devmobasa merged 1 commit into
mainfrom
fix/241-sway-screencopy

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Summary

Resolves #241

Fixes freeze/zoom capture on newer Sway/wlroots setups by binding the wlroots screencopy protocol through version 2 instead of version 3.

Wayscriber currently consumes wl_shm screencopy buffer events. Screencopy v3 can negotiate linux_dmabuf frames, which Wayscriber does not handle yet, causing capture-driven features like freeze and zoom to fail on affected stacks.

Changes

  • Limit ZwlrScreencopyManagerV1 binding to the wl_shm-compatible v2 path
  • Add a small regression test documenting the required max screencopy version until dmabuf capture support exists

@devmobasa devmobasa merged commit ec2f9ed into main Jun 8, 2026
2 checks passed
@devmobasa devmobasa deleted the fix/241-sway-screencopy branch June 8, 2026 10:30
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.

[BUG] Zooming and freeze broken on Sway 1.11 with Fedora 44

1 participant