wayland: don't flush after setting fullscreen

This commit is contained in:
Christian Rauch 2021-05-16 23:19:45 +01:00 committed by Sam Lantinga
parent c0601d0123
commit e5f9fae034

View File

@ -133,8 +133,6 @@ SetFullscreen(SDL_Window *window, struct wl_output *output)
wl_shell_surface_set_toplevel(wind->shell_surface.wl);
}
}
WAYLAND_wl_display_flush(viddata->display);
}
/* On modern desktops, we probably will use the xdg-shell protocol instead