xwayland: Don't run key behaviors and actions
Consider the following keymap:
xkb_keymap {
xkb_keycodes {
<compose> = 135;
};
xkb_symbols {
key <compose> {
[ SetGroup(group = +1) ]
};
};
};
When the user presses the compose key, the following happens:
- The compositor forwards the key to Xwayland.
- Xwayland executes the SetGroup action and sets the base_group to 1 and the effective group to 1.
- The compositor updates its own state and sends the effective group, 1, to Xwayland.
- Xwayland sets the locked group to 1 and the effective group to 1 + 1 = 2.
This is wrong since pressing compose should set the effective group to 1 but to X applications the effective group appears to be 2.
This commit makes it so that Xwayland completely ignores the key behaviors and actions of the keymap and only updates the modifier and group components in response to the wayland modifiers events.
Signed-off-by: Julian Orth ju.orth@gmail.com