From f7c6e9c607742ed373752aadf5761e99ec3eb64a Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Mon, 17 Feb 2025 21:12:00 +0200 Subject: Checkpoint: today's fixes before reconciling with the rust-rewrite worktree Fixes a live-reproduced VT-switch busy loop (failed page_flip retried with no backoff), shadow rendering bleeding onto occluding windows unclipped, and a winit-backend buffer-age correctness bug that left stale cross-window pixels on screen. Committing before merging in the much larger uncommitted rust-rewrite worktree, which independently touches several of the same files - this is the pre-merge baseline to diff against, not a claim that these are the final versions of these fixes. --- crates/wayland/src/udev/session.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/wayland/src/udev/session.rs') diff --git a/crates/wayland/src/udev/session.rs b/crates/wayland/src/udev/session.rs index 4dd6db0..42805b5 100644 --- a/crates/wayland/src/udev/session.rs +++ b/crates/wayland/src/udev/session.rs @@ -99,6 +99,7 @@ pub(crate) fn register_session_notifier(handle: &LoopHandle<'static, CompState>, // scanned out something else entirely in between). head.flip_pending = false; head.ages = [0, 0]; + head.flip_retry_after = None; } data.render_udev_frame(); } -- cgit v1.2.3