mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
rootston: create desktop before input
This commit is contained in:
parent
0c48ef5ad8
commit
23e7411442
3 changed files with 8 additions and 6 deletions
|
|
@ -78,11 +78,6 @@ struct roots_desktop *desktop_create(struct roots_server *server,
|
|||
desktop->compositor = wlr_compositor_create(
|
||||
server->wl_display, server->renderer);
|
||||
|
||||
wlr_cursor_attach_output_layout(server->input->cursor, desktop->layout);
|
||||
wlr_cursor_map_to_region(server->input->cursor, config->cursor.mapped_box);
|
||||
cursor_load_config(config, server->input->cursor,
|
||||
server->input, desktop);
|
||||
|
||||
desktop->xdg_shell_v6 = wlr_xdg_shell_v6_create(server->wl_display);
|
||||
wl_signal_add(&desktop->xdg_shell_v6->events.new_surface,
|
||||
&desktop->xdg_shell_v6_surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue