diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c index fc9788643..d8badd2aa 100644 --- a/src/video/wayland/SDL_waylandevents.c +++ b/src/video/wayland/SDL_waylandevents.c @@ -498,6 +498,7 @@ void Wayland_PumpEvents(SDL_VideoDevice *_this) */ if (!Wayland_VideoReconnect(_this)) { d->display_disconnected = 1; + SDL_LogError(SDL_LOG_CATEGORY_VIDEO, "Wayland display connection closed by server (fatal)"); /* Only send a single quit message, as application shutdown might call * SDL_PumpEvents