mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
Merge pull request #1016 from emersion/wl-display-destroy-clients
rootston: use wl_display_destroy_clients
This commit is contained in:
commit
f076cc45ee
2 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ endif
|
||||||
# Avoid wl_buffer deprecation warnings
|
# Avoid wl_buffer deprecation warnings
|
||||||
add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
|
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_client = dependency('wayland-client')
|
||||||
wayland_egl = dependency('wayland-egl')
|
wayland_egl = dependency('wayland-egl')
|
||||||
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
||||||
|
|
|
@ -72,6 +72,7 @@ int main(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_display_run(server.wl_display);
|
wl_display_run(server.wl_display);
|
||||||
|
wl_display_destroy_clients(server.wl_display);
|
||||||
wl_display_destroy(server.wl_display);
|
wl_display_destroy(server.wl_display);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue