mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Make libinput backend optional
This commit is contained in:
parent
46170580b2
commit
e62299daa4
7 changed files with 59 additions and 8 deletions
|
|
@ -26,7 +26,6 @@ sway_sources = files(
|
|||
'input/input-manager.c',
|
||||
'input/cursor.c',
|
||||
'input/keyboard.c',
|
||||
'input/libinput.c',
|
||||
'input/seat.c',
|
||||
'input/seatop_default.c',
|
||||
'input/seatop_down.c',
|
||||
|
|
@ -227,12 +226,16 @@ sway_deps = [
|
|||
wayland_server,
|
||||
wlroots,
|
||||
xkbcommon,
|
||||
xcb,
|
||||
xcb_icccm,
|
||||
]
|
||||
|
||||
if have_xwayland
|
||||
sway_sources += 'desktop/xwayland.c'
|
||||
sway_deps += xcb
|
||||
endif
|
||||
|
||||
if wlroots_features['libinput_backend']
|
||||
sway_sources += 'input/libinput.c'
|
||||
endif
|
||||
|
||||
executable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue