backend/x11: refactor, prepare support for multiple outputs

This commit is contained in:
emersion 2018-03-30 21:40:43 -04:00
parent f133170ff0
commit d4f7ced6e2
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 365 additions and 257 deletions

View file

@ -50,7 +50,11 @@ if conf_data.get('WLR_HAS_SYSTEMD', false)
endif
if conf_data.get('WLR_HAS_X11_BACKEND', false)
backend_files += files('x11/backend.c')
backend_files += files(
'x11/backend.c',
'x11/input_device.c',
'x11/output.c',
)
backend_deps += xcb_xkb
endif