mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
parent
9e0846ea14
commit
1e1e90d0bb
3 changed files with 13 additions and 1 deletions
|
|
@ -529,6 +529,7 @@ seat_init(struct server *server)
|
|||
|
||||
seat->input_method_relay = input_method_relay_create(seat);
|
||||
|
||||
seat->xcursor_manager = NULL;
|
||||
seat->cursor = wlr_cursor_create();
|
||||
if (!seat->cursor) {
|
||||
wlr_log(WLR_ERROR, "unable to create cursor");
|
||||
|
|
@ -571,6 +572,7 @@ seat_reconfigure(struct server *server)
|
|||
{
|
||||
struct seat *seat = &server->seat;
|
||||
struct input *input;
|
||||
cursor_load(seat);
|
||||
wl_list_for_each(input, &seat->inputs, link) {
|
||||
switch (input->wlr_input_device->type) {
|
||||
case WLR_INPUT_DEVICE_KEYBOARD:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue