You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-30 18:30:54 +00:00
Makes it more consistent with the rest of the `WaylandThread` methods (so that we can silently check for the window's existence). Fixes errors when trying to capture the pointer when no surface has been pointed yet (its logic assumed that this method was silent). We double-check everywhere anyway but I added it in some places where we can't either guarantee that it'll check (to avoid segfaults) or that would be useful to report directly.