mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-03-21 02:12:27 +01:00
Because Wayland only supports FULLSCREEN_DESKTOP, fullscreen_mode never gets assigned at all, meaning driverdata is always NULL! Depending on what the compositor does this can lead to dramatically different results. GNOME was fine without this, but Plasma would trip an event that unintentionally unset the fullscreen mode and caused the game to fire a configure event _every frame_, and of course the configure would send the fullscreen_mode output which was still empty. The fix is to just use the SDL_VideoDisplay directly, which will always have a valid wl_output. |
||
---|---|---|
.. | ||
SDL_waylandclipboard.c | ||
SDL_waylandclipboard.h | ||
SDL_waylanddatamanager.c | ||
SDL_waylanddatamanager.h | ||
SDL_waylanddyn.c | ||
SDL_waylanddyn.h | ||
SDL_waylandevents_c.h | ||
SDL_waylandevents.c | ||
SDL_waylandkeyboard.c | ||
SDL_waylandkeyboard.h | ||
SDL_waylandmessagebox.c | ||
SDL_waylandmessagebox.h | ||
SDL_waylandmouse.c | ||
SDL_waylandmouse.h | ||
SDL_waylandopengles.c | ||
SDL_waylandopengles.h | ||
SDL_waylandsym.h | ||
SDL_waylandtouch.c | ||
SDL_waylandtouch.h | ||
SDL_waylandvideo.c | ||
SDL_waylandvideo.h | ||
SDL_waylandvulkan.c | ||
SDL_waylandvulkan.h | ||
SDL_waylandwindow.c | ||
SDL_waylandwindow.h |