mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add partial support for layer-shell
We can now run swaybg and waybar
This commit is contained in:
parent
00adc7ed34
commit
a4c22f7c4d
7 changed files with 426 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||
#include <wlr/types/wlr_primary_selection_v1.h>
|
||||
#include <wlr/types/wlr_screencopy_v1.h>
|
||||
#include "layers.h"
|
||||
|
||||
static struct wlr_compositor *compositor;
|
||||
static struct wl_event_source *sighup_source;
|
||||
|
|
@ -242,6 +243,8 @@ server_init(struct server *server)
|
|||
wlr_gamma_control_manager_v1_create(server->wl_display);
|
||||
wlr_primary_selection_v1_device_manager_create(server->wl_display);
|
||||
|
||||
layers_init(server);
|
||||
|
||||
/* Init xwayland */
|
||||
server->xwayland =
|
||||
wlr_xwayland_create(server->wl_display, compositor, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue