mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04: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
|
|
@ -203,6 +203,11 @@ int main(int argc, char *argv[]) {
|
|||
wlr_texture_upload_pixels(state.cat_texture, WL_SHM_FORMAT_ABGR8888,
|
||||
cat_tex.width, cat_tex.width, cat_tex.height, cat_tex.pixel_data);
|
||||
|
||||
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_texture_destroy(state.cat_texture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue