wayland: only bind to 'presentation' interface if -p,--presentation-timings

This commit is contained in:
Daniel Eklöf 2019-12-31 16:12:48 +01:00
parent 7fe081600a
commit b100a82c2a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 16 additions and 10 deletions

2
main.c
View file

@ -235,7 +235,7 @@ main(int argc, char *const *argv)
if ((fdm = fdm_init()) == NULL)
goto out;
if ((wayl = wayl_init(fdm)) == NULL)
if ((wayl = wayl_init(&conf, fdm)) == NULL)
goto out;
if (!as_server && (term = term_init(