mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Chase wlroots xdg_shell version
To update the wlroots subproject use meson subprojects update wlroots
This commit is contained in:
parent
9070b12c1b
commit
d8a877749e
2 changed files with 5 additions and 2 deletions
|
|
@ -19,6 +19,8 @@
|
||||||
#include "ssd.h"
|
#include "ssd.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
|
|
||||||
|
#define LAB_XDG_SHELL_VERSION (2)
|
||||||
|
|
||||||
static struct wlr_compositor *compositor;
|
static struct wlr_compositor *compositor;
|
||||||
static struct wl_event_source *sighup_source;
|
static struct wl_event_source *sighup_source;
|
||||||
static struct wl_event_source *sigint_source;
|
static struct wl_event_source *sigint_source;
|
||||||
|
|
@ -282,7 +284,8 @@ server_init(struct server *server)
|
||||||
seat_init(server);
|
seat_init(server);
|
||||||
|
|
||||||
/* Init xdg-shell */
|
/* 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) {
|
if (!server->xdg_shell) {
|
||||||
wlr_log(WLR_ERROR, "unable to create the XDG shell interface");
|
wlr_log(WLR_ERROR, "unable to create the XDG shell interface");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
revision = 640f3b9f2156a007c5d1a36afdee570e123c95e4
|
revision = 8fe3aa29da56be16faa73aca947647bd60cd4a94
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
dependency_names = wlroots
|
dependency_names = wlroots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue