diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/wayland_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 737d30582d..9c703e3546 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -464,13 +464,12 @@ static const struct wl_seat_listener seat_listener = { }; static void registry_handle_global (void *data, - struct wl_registry *registry, + struct wl_registry *reg, uint32_t id, const char *interface, uint32_t version) { struct vo_wayland_state *wl = data; - struct wl_registry *reg = wl->display.registry; if (strcmp(interface, "wl_compositor") == 0) { |