Просмотр исходного кода

wayland: don't flush after setting fullscreen

Christian Rauch 4 лет назад
Родитель
Сommit
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);
             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
 /* On modern desktops, we probably will use the xdg-shell protocol instead