mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-22 23:05:24 +00:00
Fix SDL2 resizing issue on Ubuntu MATE
This commit is contained in:
@@ -569,7 +569,8 @@ void PDC_pump_and_peep(void)
|
||||
{
|
||||
if (SDL_WINDOWEVENT == event.type &&
|
||||
(SDL_WINDOWEVENT_RESTORED == event.window.event ||
|
||||
SDL_WINDOWEVENT_EXPOSED == event.window.event))
|
||||
SDL_WINDOWEVENT_EXPOSED == event.window.event ||
|
||||
SDL_WINDOWEVENT_SHOWN == event.window.event))
|
||||
{
|
||||
SDL_UpdateWindowSurface(pdc_window);
|
||||
rectcount = 0;
|
||||
|
||||
Reference in New Issue
Block a user