Distro News

Miracle-WM 0.12 adds Rust plugin geometry shaders and official wobbly windows

Key Takeaway

Miracle-WM 0.12 moves visual effects out of the compositor core into Rust plugins, with wobbly windows as the first official example.

Summary

Miracle-WM, the tiling Wayland compositor built on Canonical's Mir display server library, has published version 0.12. The headline change is per-window geometry shaders delivered through Rust plugins, which lets developers add custom visual effects without patching the compositor itself. The classic wobbly windows effect, popularized during the Compiz and Beryl era, now ships as a dedicated plugin rather than as built-in code.

The release also smooths window resizing by temporarily scaling window contents while the application renders its next frame, and it lets floating and plugin-managed windows move between monitors. Several correctness fixes land alongside: transferring an unfocused workspace to another display no longer makes the active workspace vanish, redefining a built-in keyboard shortcut now replaces the original binding instead of firing both, and commands can no longer run from the lock screen unless explicitly enabled in the configuration. Remaining fixes cover stray borders around fullscreen windows, graphical session startup problems in the Snap package, and incorrect version reporting, with upstream Mir improvements folded in.

How plugin geometry shaders change Miracle-WM's effect model

  • Plugin-based geometry shaders: Per-window geometry shaders are implemented as Rust plugins, so visual effects are loaded as extensions instead of being compiled into the compositor, and the wobbly windows effect is distributed as one such plugin.
  • Resize behavior: During a resize the compositor temporarily scales the existing window contents until the application submits its next frame, which reduces the mismatch between the new window geometry and stale client buffers.
  • Multi-monitor handling: Floating windows and plugin-managed windows can now be moved across displays, and a bug that could remove the active workspace when an unfocused workspace was transferred to another monitor is fixed.
  • Shortcut and lock screen semantics: Redefining a built-in keyboard shortcut now overrides the original binding rather than triggering both commands, and command execution from the lock screen is blocked unless the configuration explicitly permits it.
  • Packaging and reporting fixes: The release addresses unwanted borders around fullscreen windows, graphical session startup failures affecting the Snap package, and incorrect version reporting, and it pulls in upstream Mir fixes and improvements.

Why it matters

Miracle-WM sits on Mir, so this release is a test of whether a Rust plugin boundary can carry compositor eye candy without forking the core, a model that matters for anyone maintaining a Wayland session on Fedora, Ubuntu or Arch. The lock-screen command restriction is a small but concrete hardening step for a component that mediates input and session control. For tiling-compositor users, cross-monitor movement of floating and plugin windows removes a long-standing friction point in mixed tiling and floating workflows.

Original reference: linuxiac.com →