Since the two functions had nothing in common but the local variables.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
}
}
- notify_keyboard_focus(&seat->base.seat, &keys);
+ notify_keyboard_focus_in(&seat->base.seat, &keys,
+ STATE_UPDATE_AUTOMATIC);
wl_array_release(&keys);
}
wl_list_for_each_safe(device, next, &seat->devices_list, link)
device_removed(device);
- notify_keyboard_focus(&seat->base.seat, NULL);
+ notify_keyboard_focus_out(&seat->base.seat);
}
void