commit | 0c194ced57a12a21df6ee8dfda15ee53376e1282 | [log] [tgz] |
---|---|---|
author | Rui Matos <tiagomatos@gmail.com> | Thu Oct 10 19:44:21 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Oct 22 15:25:01 2013 -0700 |
tree | a65b1857b458122ed7b6c1b1b11efc9f5bf1ca68 | |
parent | c6c2f8e655e79feb95bfe9a84b0aa1a73315497c [diff] [blame] |
compositor-wayland: Handle keymap changes
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 519b1bc..21ce5cb 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c
@@ -517,7 +517,11 @@ return; } - weston_seat_init_keyboard(&input->base, keymap); + if (input->base.keyboard) + weston_seat_update_keymap(&input->base, keymap); + else + weston_seat_init_keyboard(&input->base, keymap); + xkb_map_unref(keymap); }