mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-24 02:55:39 +02:00
Implement wp_cursor_shape_v1
This commit is contained in:
parent
43e1944607
commit
56b374b569
3 changed files with 57 additions and 3 deletions
|
@ -71,7 +71,11 @@ backend_x11 = xcb_aux.found() and xcb_cursor.found() and xcb_event.found() and \
|
|||
# Wayland dependencies
|
||||
wayland_client = dependency('wayland-client', required: get_option('backend-wayland'))
|
||||
wayland_cursor = dependency('wayland-cursor', required: get_option('backend-wayland'))
|
||||
wayland_protocols = dependency('wayland-protocols', required: get_option('backend-wayland'))
|
||||
backend_wayland = wayland_client.found() and wayland_cursor.found()
|
||||
if backend_wayland and wayland_protocols.version().version_compare('>=1.32')
|
||||
add_project_arguments('-DHAVE_CURSOR_SHAPE=1', language: 'c')
|
||||
endif
|
||||
|
||||
# "My" dependencies, fallback to subproject
|
||||
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue