lucannez64
9e8165e056
Fix client window visibility in Darling AppKit, not by patching Electron
...
Electron 22.3.27's NativeWindowMac::IsVisible() compares the window's
occlusion state for exact equality with NSWindowOcclusionStateVisible:
bool occluded = [window occlusionState] == NSWindowOcclusionStateVisible;
Apple's contract is a bitmask: an on-screen window's state *includes* that bit
(tested with &). The exact == test is inverted, so an Apple-correct value made
every ordered-in window look occluded and the client's visible/not-minimized
checks failed. The previous workaround byte-patched Riot's shipped Electron
Framework to flip that comparison.
Fix it in Darling's AppKit instead: -[NSWindow occlusionState] now also reports
the reserved 1 << 2 bit for an on-screen window. &-based readers (Electron's own
windowDidChangeOcclusionState:, Chromium) still see NSWindowOcclusionStateVisible
set, while the exact == test is false, so unpatched Electron resolves
IsVisible() correctly. No Riot binary is modified.
Delete tools/patch-riot-electron-visibility.py and its call in
install-riot-gpu-runtime.sh; sync README and docs/STATUS, which already
described the binary patch as excluded.
2026-10-15 12:46:48 +02:00
..
2026-10-14 16:48:34 +02:00
2026-10-15 00:29:19 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-13 15:09:23 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-15 12:05:30 +02:00
2026-10-15 11:37:25 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-14 16:48:34 +02:00
2026-10-15 12:46:48 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-15 00:29:19 +02:00
2026-10-15 12:11:19 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 09:58:59 +02:00
2026-10-13 15:09:23 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 12:11:19 +02:00
2026-10-13 15:09:23 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 12:05:30 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-14 16:48:34 +02:00
2026-10-14 16:48:34 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 12:05:30 +02:00
2026-10-15 12:05:30 +02:00
2026-10-15 12:05:30 +02:00
2026-10-15 11:37:25 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 00:29:19 +02:00
2026-10-15 12:11:19 +02:00
2026-10-13 15:09:23 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-15 00:29:19 +02:00
2026-10-15 00:29:19 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00
2026-10-12 20:15:55 +02:00