From 4436c7fb618901585ca1e342013ded0aec246002 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 22 Jul 2026 17:19:16 +0200 Subject: [PATCH] fix(host/stream): composite mode re-blends the LIVE cursor on repeat ticks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The frame-attached overlay is the pointer position at the last damage frame; repeats re-encoding a static desktop froze the blended cursor between redraws — on-glass the composite-mode cursor stuttered while window drags (constant damage) were smooth. Refresh the repeat's overlay from Capturer::cursor each tick so pointer-only motion re-blends at tick rate — the bandwidth the pre-channel embedded mode already paid. Linux only: the Windows capturer composites internally and its frames must never carry an overlay a blend path would double-draw. Co-Authored-By: Claude Fable 5 --- crates/punktfunk-host/src/native/stream.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/crates/punktfunk-host/src/native/stream.rs b/crates/punktfunk-host/src/native/stream.rs index cab78b62..774e2789 100644 --- a/crates/punktfunk-host/src/native/stream.rs +++ b/crates/punktfunk-host/src/native/stream.rs @@ -2063,6 +2063,20 @@ pub(super) fn virtual_stream(ctx: SessionContext, prepared: Option