diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-18 09:17:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 09:17:06 -0500 |
commit | 3d07d260cb45b79d3612a36766c870fdd1606f0b (patch) | |
tree | 01b5b5ee7d61fbb864522ca0b963665752313540 | |
parent | f3769a4b1f552b7dc826418e78b88bffe277c2c4 (diff) | |
parent | db73c54f115f53b474daab6edce502a7032269f9 (diff) |
Merge pull request #498 from emersion/rootston-auto-backend
rootston: revert to auto backend
-rw-r--r-- | rootston/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rootston/main.c b/rootston/main.c index d17079d3..27ff6b41 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -30,11 +30,7 @@ int main(int argc, char **argv) { assert(server.wl_display = wl_display_create()); assert(server.wl_event_loop = wl_display_get_event_loop(server.wl_display)); - //assert(server.backend = wlr_backend_autocreate(server.wl_display)); - assert(server.backend = wlr_headless_backend_create(server.wl_display)); - wlr_headless_add_output(server.backend, 1280, 720); - wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_KEYBOARD); - wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_POINTER); + assert(server.backend = wlr_backend_autocreate(server.wl_display)); assert(server.renderer = wlr_gles2_renderer_create(server.backend)); server.data_device_manager = |