From d23bd9b0cff7921a1c193a3742e70a77bbb7dad7 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sun, 5 Jul 2026 09:27:07 +0000 Subject: [PATCH] fix(vdisplay/windows): DISPLAYCONFIG_PATH_SOURCE_INFO union field access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modeInfoIdx lives in the Anonymous union (windows-rs), not directly on sourceInfo — set_virtual_primary_ccd now reads .Anonymous.modeInfoIdx. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/punktfunk-host/src/windows/win_display.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/punktfunk-host/src/windows/win_display.rs b/crates/punktfunk-host/src/windows/win_display.rs index 2e6560f..351963c 100644 --- a/crates/punktfunk-host/src/windows/win_display.rs +++ b/crates/punktfunk-host/src/windows/win_display.rs @@ -469,7 +469,7 @@ pub(crate) unsafe fn set_virtual_primary_ccd(keep_target_id: u32) -> Option Option