SDL: wayland: don't flush after setting fullscreen

From e5f9fae034df8ca305241c5a666e7702fcf9958f Mon Sep 17 00:00:00 2001
From: Christian Rauch <[EMAIL REDACTED]>
Date: Sun, 16 May 2021 23:19:45 +0100
Subject: [PATCH] wayland: don't flush after setting fullscreen

---
 src/video/wayland/SDL_waylandwindow.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index 960e3c927..c18e159e8 100644
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/src/video/wayland/SDL_waylandwindow.c
@@ -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