瀏覽代碼

wayland: don't flush after setting fullscreen

Christian Rauch 5 年之前
父節點
當前提交
e5f9fae034
共有 1 個文件被更改,包括 0 次插入2 次删除
  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