electron/shell
trop[bot] 8ee008ad48
fix: simpleFullScreen exits when web content calls requestFullscreen (#50985)
fix: simpleFullScreen exits when web content calls requestFullscreen

SetHtmlApiFullscreen only checked IsFullscreen() to detect that the
window was already fullscreen, missing the simple-fullscreen case on
macOS. When web content triggered requestFullscreen the code fell
through to SetFullScreen(true) which toggled simple fullscreen off.

Include IsSimpleFullScreen() in the guard so the HTML-API fullscreen
state is updated without touching the window's fullscreen mode.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2026-04-15 16:10:25 +02:00
..
app fix: use audit token instead of PID for parent code-signature check (#50934) 2026-04-11 19:05:43 -07:00
browser fix: simpleFullScreen exits when web content calls requestFullscreen (#50985) 2026-04-15 16:10:25 +02:00
common chore: backport cppgc cleanups (#50915) 2026-04-15 16:39:44 +09:00
renderer feat: make Chrome extensions work on custom protocols (#50529) 2026-04-02 20:09:56 -07:00
services/node feat: enable WASM trap handlers in all Node.js processes (#49839) 2026-02-18 13:22:36 -05:00
utility fix: broken OOP window.print() on macOS/Linux (#45214) 2025-01-20 10:23:44 +01:00