mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-14 18:27:50 +00:00
Fixed continuous logging if returning to desktop mode fails on X11
(cherry picked from commit aef240b2e4)
This commit is contained in:
parent
9646e3cc1b
commit
cd8bffb2dd
1 changed files with 1 additions and 0 deletions
|
|
@ -2113,6 +2113,7 @@ void X11_PumpEvents(SDL_VideoDevice *_this)
|
|||
SDL_LogError(SDL_LOG_CATEGORY_VIDEO,
|
||||
"Time out elapsed after mode switch on display %" SDL_PRIu32 " with no window becoming fullscreen; reverting", _this->displays[i]->id);
|
||||
SDL_SetDisplayModeForDisplay(_this->displays[i], NULL);
|
||||
_this->displays[i]->internal->mode_switch_deadline_ns = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue