Commit 00b6d165 authored by Guido Gunther's avatar Guido Gunther

Add layer-shell protocol from wlroots

This in turn needs xdg_shell from wayland-protocols
parent 5add98f7
This diff is collapsed.
wayland_protos = dependency('wayland-protocols', version: '>=1.12')
wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')
wl_scanner = find_program('wayland-scanner')
gen_scanner_client_header = generator(wl_scanner,
output: '@BASENAME@-client-protocol.h',
......@@ -15,12 +18,14 @@ phosh_resources = gnome.compile_resources(
wl_protos = [
'phosh-mobile-shell.xml',
'/'.join([wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml']),
'../protocol/phosh-mobile-shell.xml',
'../protocol/wlr-layer-shell-unstable-v1.xml',
]
wl_proto_deps = []
foreach proto: wl_protos
wl_proto_deps += gen_scanner_client_header.process('../protocol/' + proto)
wl_proto_deps += gen_scanner_client_code.process('../protocol/' + proto)
wl_proto_deps += gen_scanner_client_header.process(proto)
wl_proto_deps += gen_scanner_client_code.process(proto)
endforeach
phosh_sources = [
......
......@@ -19,6 +19,7 @@
#include "config.h"
#include "phosh-mobile-shell-client-protocol.h"
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
#include "phosh.h"
#include "background.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment