r/swaywm • • 23h ago

Release sway-blur v1.4.0

Thumbnail
gallery
19 Upvotes

This release is mostly an internal cleanup. The daemon now has one scene/cache path, typed sway-tree parsing, correct clipping for partially off-screen windows and fewer frame pixel copies.

Fixes

  • Clip window rects to their output, so partially off-screen windows are captured and overlaid using only their visible area.
  • Keep failed captures retryable without tearing down and recreating the overlay surface.

Performance

  • Share captured pixels between the cache and overlay with reference counted buffers, removing extra full frame copies.
  • Hand the shared buffer to gtk without another copy when updating a surface.
  • Reduce the format conversion to one const generic path instead of four duplicated loops.

feel free to give feedback

Install or update:

curl -fsSL https://raw.githubusercontent.com/developic/sway-blur/main/install.sh | bash

repo: https://github.com/developic/sway-blur