From f9ad63c5cb8aa3cccadcbf85fd3e43070f41f026 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 29 May 2018 22:50:26 +0100 Subject: [PATCH] rootston: use wl_display_destroy_clients --- meson.build | 2 +- rootston/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 597236ca..b78eea01 100644 --- a/meson.build +++ b/meson.build @@ -46,7 +46,7 @@ endif # Avoid wl_buffer deprecation warnings add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c') -wayland_server = dependency('wayland-server') +wayland_server = dependency('wayland-server', version: '>=1.15') wayland_client = dependency('wayland-client') wayland_egl = dependency('wayland-egl') wayland_protos = dependency('wayland-protocols', version: '>=1.14') diff --git a/rootston/main.c b/rootston/main.c index cecdb23d..07a41d5d 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -72,6 +72,7 @@ int main(int argc, char **argv) { } wl_display_run(server.wl_display); + wl_display_destroy_clients(server.wl_display); wl_display_destroy(server.wl_display); return 0; }