backend/x11: Remove old input functions

This also allows us to remove xcb-xkb, since Xinput will now give us the
appropriate XKB modifiers with each event.
This commit is contained in:
Scott Anderson 2018-11-11 14:25:53 +13:00
parent d89e868cc9
commit 70ae76304e
9 changed files with 14 additions and 188 deletions

View file

@ -4,9 +4,6 @@ x11_required = [
'xcb',
'xcb-xinput',
]
x11_optional = [
'xcb-xkb',
]
foreach lib : x11_required
dep = dependency(lib, required: get_option('x11-backend'))
@ -17,14 +14,6 @@ foreach lib : x11_required
x11_libs += dep
endforeach
foreach lib : x11_optional
dep = dependency(lib, required: get_option(lib))
if dep.found()
x11_libs += dep
conf_data.set10('WLR_HAS_' + lib.underscorify().to_upper(), true)
endif
endforeach
lib_wlr_backend_x11 = static_library(
'wlr_backend_x11',
files(