mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Fix rootston keyboard, add Xwayland
This commit is contained in:
parent
7cf4ee128e
commit
906a816abf
15 changed files with 91 additions and 42 deletions
|
|
@ -54,6 +54,7 @@ void wlr_keyboard_led_update(struct wlr_keyboard *kb, uint32_t leds) {
|
|||
|
||||
void wlr_keyboard_set_keymap(struct wlr_keyboard *kb,
|
||||
struct xkb_keymap *keymap) {
|
||||
wlr_log(L_DEBUG, "Keymap set");
|
||||
kb->keymap = keymap;
|
||||
assert(kb->xkb_state = xkb_state_new(kb->keymap));
|
||||
const char *led_names[3] = {
|
||||
|
|
|
|||
|
|
@ -377,6 +377,7 @@ void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time,
|
|||
}
|
||||
|
||||
static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
||||
wlr_log(L_DEBUG, "Updating keyboard");
|
||||
struct wlr_seat_keyboard *seat_kb = wl_container_of(
|
||||
listener, seat_kb, key);
|
||||
struct wlr_seat *seat = seat_kb->seat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue