mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
backends/x11: Use XkbBuildCoreState the right way around
Pass parameters in the correct order, and don't let it clamp button modifiers away (Since this macro does "state & 0xff"). Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1559 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1617>
This commit is contained in:
parent
407e8c0f37
commit
6aafdbebd9
@ -1535,7 +1535,7 @@ translate_state (XIButtonState *button_state,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (group_state)
|
if (group_state)
|
||||||
state = XkbBuildCoreState (group_state->effective, state);
|
state |= XkbBuildCoreState (0, group_state->effective);
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user