x11: fix truncation of xkb controls mask off the wire
It's uint32_t, not uint16_t, so we were losing flags (not that it matters in this case). Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
f5465b56a3
commit
8fcb44b8a6
|
@ -99,7 +99,7 @@ translate_mods(uint8_t rmods, uint16_t vmods_low, uint16_t vmods_high)
|
|||
}
|
||||
|
||||
static enum xkb_action_controls
|
||||
translate_controls_mask(uint16_t wire)
|
||||
translate_controls_mask(uint32_t wire)
|
||||
{
|
||||
enum xkb_action_controls ret = 0;
|
||||
if (wire & XCB_XKB_BOOL_CTRL_REPEAT_KEYS)
|
||||
|
|
Loading…
Reference in New Issue