Chase wlroots xdg_shell version

To update the wlroots subproject use
meson subprojects update wlroots
This commit is contained in:
Consolatis 2022-05-18 13:55:33 +02:00
parent 9070b12c1b
commit d8a877749e
2 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,8 @@
#include "ssd.h"
#include "theme.h"
#define LAB_XDG_SHELL_VERSION (2)
static struct wlr_compositor *compositor;
static struct wl_event_source *sighup_source;
static struct wl_event_source *sigint_source;
@ -282,7 +284,8 @@ server_init(struct server *server)
seat_init(server);
/* Init xdg-shell */
server->xdg_shell = wlr_xdg_shell_create(server->wl_display);
server->xdg_shell = wlr_xdg_shell_create(server->wl_display,
LAB_XDG_SHELL_VERSION);
if (!server->xdg_shell) {
wlr_log(WLR_ERROR, "unable to create the XDG shell interface");
exit(EXIT_FAILURE);

View file

@ -1,6 +1,6 @@
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
revision = 640f3b9f2156a007c5d1a36afdee570e123c95e4
revision = 8fe3aa29da56be16faa73aca947647bd60cd4a94
[provide]
dependency_names = wlroots