compositor-x11: Copying xkb_info when creating a seat causes problems
Sorry, I missed updating use of xkb_info in compositor-x11.c. I've updated the patch.
This commit is contained in:
committed by
Kristian Høgsberg
parent
ffbddff89a
commit
a94dc8a51b
@@ -160,7 +160,7 @@ x11_compositor_get_keymap(struct x11_compositor *c)
|
|||||||
static uint32_t
|
static uint32_t
|
||||||
get_xkb_mod_mask(struct x11_compositor *c, uint32_t in)
|
get_xkb_mod_mask(struct x11_compositor *c, uint32_t in)
|
||||||
{
|
{
|
||||||
struct weston_xkb_info *info = &c->core_seat.xkb_info;
|
struct weston_xkb_info *info = c->core_seat.xkb_info;
|
||||||
uint32_t ret = 0;
|
uint32_t ret = 0;
|
||||||
|
|
||||||
if ((in & ShiftMask) && info->shift_mod != XKB_MOD_INVALID)
|
if ((in & ShiftMask) && info->shift_mod != XKB_MOD_INVALID)
|
||||||
|
|||||||
Reference in New Issue
Block a user