Browse Source

wayland: don't flush after setting fullscreen

Christian Rauch 3 years ago
parent
commit
e5f9fae034
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/video/wayland/SDL_waylandwindow.c

+ 0 - 2
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