mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Merge 3613362f9a into 4326a26ad6
This commit is contained in:
commit
59861f5c45
1 changed files with 3 additions and 2 deletions
|
|
@ -800,8 +800,6 @@ static void seat_configure_pointer(struct sway_seat *seat,
|
||||||
wlr_cursor_attach_input_device(seat->cursor->cursor,
|
wlr_cursor_attach_input_device(seat->cursor->cursor,
|
||||||
sway_device->input_device->wlr_device);
|
sway_device->input_device->wlr_device);
|
||||||
seat_apply_input_config(seat, sway_device);
|
seat_apply_input_config(seat, sway_device);
|
||||||
wl_event_source_timer_update(
|
|
||||||
seat->cursor->hide_source, cursor_get_timeout(seat->cursor));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void seat_configure_keyboard(struct sway_seat *seat,
|
static void seat_configure_keyboard(struct sway_seat *seat,
|
||||||
|
|
@ -910,6 +908,9 @@ void seat_configure_device(struct sway_seat *seat,
|
||||||
seat_configure_tablet_pad(seat, seat_device);
|
seat_configure_tablet_pad(seat, seat_device);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (wlr_cursor_is_input_device_attached(seat->cursor->cursor, input_device->wlr_device)) {
|
||||||
|
cursor_handle_activity(seat->cursor, input_device->wlr_device);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void seat_reset_device(struct sway_seat *seat,
|
void seat_reset_device(struct sway_seat *seat,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue