Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
web: detect when fullscreen status changed externally #1961
When Ren'Py "caches" the fullscreen status, this lead to issues in RenPyWeb, as exiting fullscreen can be triggered directly by the user pressing "Esc." (handled by the browser, rather than requested by Ren'Py/SDL2). This makes Ren'Py keep requesting fullscreen right after the user exits it.
Getting the low-level fullscreen status is a bit convoluted but I could do it without modifying the API.