mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-20 01:40:56 -05:00
Add pointer constraint functionality.
This commit is contained in:
parent
8a009212bc
commit
3f72f1e9bc
5 changed files with 233 additions and 6 deletions
|
|
@ -39,6 +39,7 @@ wlroots = dependency('wlroots', version: '>= 0.17.0', fallback: ['wlroots
|
|||
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
||||
wayland_server = dependency('wayland-server')
|
||||
xkbcommon = dependency('xkbcommon')
|
||||
pixman = dependency('pixman-1')
|
||||
math = cc.find_library('m')
|
||||
|
||||
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
|
||||
|
|
@ -51,6 +52,7 @@ wayland_scanner_server = generator(
|
|||
|
||||
server_protocols = [
|
||||
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
|
||||
[wl_protocol_dir, 'unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'],
|
||||
]
|
||||
|
||||
server_protos_headers = []
|
||||
|
|
@ -153,6 +155,7 @@ executable(
|
|||
wlroots,
|
||||
xkbcommon,
|
||||
math,
|
||||
pixman,
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue