Implement wlr_cursor in rootston

This commit is contained in:
Drew DeVault 2017-09-23 14:53:15 -04:00
parent e81e99d16d
commit 57c50c78f0
7 changed files with 220 additions and 35 deletions

View file

@ -42,6 +42,8 @@ struct roots_desktop *desktop_create(struct roots_server *server,
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,