mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Chase wlroots: Layershell version
Chases 9f793d350379872aeee56ea5c476adfeedc8bc88 layer-shell-v1: specify version in constructor
This commit is contained in:
parent
5feda28f12
commit
b4fc72b460
2 changed files with 5 additions and 2 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#include "labwc.h"
|
||||
#include "node.h"
|
||||
|
||||
#define LAB_LAYERSHELL_VERSION 4
|
||||
|
||||
static void
|
||||
apply_override(struct output *output, struct wlr_box *usable_area)
|
||||
{
|
||||
|
|
@ -428,7 +430,8 @@ handle_new_layer_surface(struct wl_listener *listener, void *data)
|
|||
void
|
||||
layers_init(struct server *server)
|
||||
{
|
||||
server->layer_shell = wlr_layer_shell_v1_create(server->wl_display);
|
||||
server->layer_shell = wlr_layer_shell_v1_create(server->wl_display,
|
||||
LAB_LAYERSHELL_VERSION);
|
||||
server->new_layer_surface.notify = handle_new_layer_surface;
|
||||
wl_signal_add(&server->layer_shell->events.new_surface,
|
||||
&server->new_layer_surface);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[wrap-git]
|
||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
revision = 5b23987349dde587100c792bb6d180c930e6f2bd
|
||||
revision = 9f793d350379872aeee56ea5c476adfeedc8bc88
|
||||
|
||||
[provide]
|
||||
dependency_names = wlroots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue