Commit c2a0c299 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB window: key modifier 4 is meta, not command

parent 960f708e
......@@ -228,7 +228,7 @@ int ProcessKeyEvent (key_handler_t *ctx, xcb_generic_event_t *ev)
if (e->state & XCB_MOD_MASK_1)
vk |= KEY_MODIFIER_ALT;
if (e->state & XCB_MOD_MASK_4)
vk |= KEY_MODIFIER_COMMAND;
vk |= KEY_MODIFIER_META;
var_SetInteger (ctx->obj->p_libvlc, "key-pressed", vk);
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment