Wayland: Patched to compile.
parent
785618afec
commit
e0ad1021a5
|
@ -297,10 +297,10 @@ Wayland_VideoInit(_THIS)
|
||||||
wl_registry_add_listener(data->registry, ®istry_listener, data);
|
wl_registry_add_listener(data->registry, ®istry_listener, data);
|
||||||
|
|
||||||
// First roundtrip to receive all registry objects.
|
// 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.
|
// 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);
|
data->xkb_context = WAYLAND_xkb_context_new(0);
|
||||||
if (!data->xkb_context) {
|
if (!data->xkb_context) {
|
||||||
|
|
Loading…
Reference in New Issue