mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Move keyboard logic to wlr_{keyboard,seat}
This commit is contained in:
parent
b84d59403f
commit
61e451ea1b
15 changed files with 257 additions and 87 deletions
|
|
@ -158,6 +158,11 @@ int main(int argc, char *argv[]) {
|
|||
wlr_log(L_ERROR, "Could not start compositor, OOM");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if (!wlr_backend_start(compositor.backend)) {
|
||||
wlr_log(L_ERROR, "Failed to start backend");
|
||||
wlr_backend_destroy(compositor.backend);
|
||||
exit(1);
|
||||
}
|
||||
wl_display_run(compositor.display);
|
||||
|
||||
wlr_renderer_destroy(state.renderer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue