mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-22 08:56:28 -05:00
Add per-seat cursor configuration
This commit is contained in:
parent
cd566ccd8e
commit
5b13f51dfc
5 changed files with 130 additions and 36 deletions
|
|
@ -43,7 +43,7 @@ static void input_add_notify(struct wl_listener *listener, void *data) {
|
|||
struct wlr_input_device *device = data;
|
||||
struct roots_input *input = wl_container_of(listener, input, input_add);
|
||||
|
||||
char *seat_name = "seat0";
|
||||
char *seat_name = ROOTS_CONFIG_DEFAULT_SEAT_NAME;
|
||||
struct roots_device_config *dc =
|
||||
roots_config_get_device(input->config, device);
|
||||
if (dc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue