Skip to content

Commit

Permalink
Wayland: Patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 8, 2015
1 parent 785618a commit e0ad102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/wayland/SDL_waylandvideo.c
Expand Up @@ -297,10 +297,10 @@ Wayland_VideoInit(_THIS)
wl_registry_add_listener(data->registry, &registry_listener, data);

// First roundtrip to receive all registry objects.
wl_display_roundtrip(data->display);
WAYLAND_wl_display_roundtrip(data->display);

// Second roundtrip to receive all output events.
wl_display_roundtrip(data->display);
WAYLAND_wl_display_roundtrip(data->display);

data->xkb_context = WAYLAND_xkb_context_new(0);
if (!data->xkb_context) {
Expand Down

0 comments on commit e0ad102

Please sign in to comment.