Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
phosh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Guido Gunther
phosh
Commits
00b6d165
Commit
00b6d165
authored
Apr 05, 2018
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add layer-shell protocol from wlroots
This in turn needs xdg_shell from wayland-protocols
parent
5add98f7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
290 additions
and
3 deletions
+290
-3
protocol/wlr-layer-shell-unstable-v1.xml
protocol/wlr-layer-shell-unstable-v1.xml
+281
-0
src/meson.build
src/meson.build
+8
-3
src/phosh.c
src/phosh.c
+1
-0
No files found.
protocol/wlr-layer-shell-unstable-v1.xml
0 → 100644
View file @
00b6d165
This diff is collapsed.
Click to expand it.
src/meson.build
View file @
00b6d165
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 = [
...
...
src/phosh.c
View file @
00b6d165
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment