src/video/wayland/SDL_waylandevents.c
changeset 12342 7cec5c0510ae
parent 12201 8bdc4d340419
child 12404 eb60e952b13f
equal deleted inserted replaced
12341:fa1df9b103d7 12342:7cec5c0510ae
   175 
   175 
   176 void
   176 void
   177 Wayland_PumpEvents(_THIS)
   177 Wayland_PumpEvents(_THIS)
   178 {
   178 {
   179     SDL_VideoData *d = _this->driverdata;
   179     SDL_VideoData *d = _this->driverdata;
       
   180 
       
   181     WAYLAND_wl_display_flush(d->display);
   180 
   182 
   181     if (SDL_IOReady(WAYLAND_wl_display_get_fd(d->display), SDL_FALSE, 0)) {
   183     if (SDL_IOReady(WAYLAND_wl_display_get_fd(d->display), SDL_FALSE, 0)) {
   182         WAYLAND_wl_display_dispatch(d->display);
   184         WAYLAND_wl_display_dispatch(d->display);
   183     }
   185     }
   184     else
   186     else