e-comp-wl: Fix keyboard input sending wrong keys

NB: When running wayland clients under X11, we need to subtract 8 from
the keycode value to reflect X's broken keyboard rules

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-06-26 13:41:25 -04:00
parent f6d2f30d93
commit 64683742c4
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ _default_grab_key(struct wl_keyboard_grab *grab, uint32_t timestamp, uint32_t ke
serial = wl_display_next_serial(_e_wl_comp->wl.display);
wl_resource_for_each(res, lst)
wl_keyboard_send_key(res, serial, timestamp, key, state);
wl_keyboard_send_key(res, serial, timestamp, key - 8, state);
}
}