sway-patched-tray-menu-github/sway/input
Kenny Levinsen 1ade0ce753 seat: Set keyboard if seat keyboard is NULL
sway sends wl_keyboard.enter on seat focus change and when a keyboard
active on a seat is configured. If all keyboards are removed and a
keyboard is added back without changing the focused client, no new
notify event would be sent despite having keyboard focus. This could
lead to key events without notify, which is a protocol violation.

As a quick fix, when configuring a keyboard on a seat where no keyboard
is currently active, activate the keyboard so that a focused surface
will receive a notify event.

Regressed by: e1b268af98
Closes: https://github.com/swaywm/sway/issues/7330
2022-12-19 10:02:58 +01:00
..
cursor.c Use keyboard_state.focused_surface directly 2022-10-09 10:07:51 +02:00
input-manager.c seat: Avoid sending redundant keymaps on reload 2022-12-04 13:01:41 -07:00
keyboard.c seat: Set keyboard if seat keyboard is NULL 2022-12-19 10:02:58 +01:00
libinput.c Add libinput RotationAngle 2022-12-09 11:28:53 +01:00
seat.c seat: Avoid sending redundant keymaps on reload 2022-12-04 13:01:41 -07:00
seatop_default.c input: tweak focus behavior to allow focusing parent containers 2022-10-21 10:05:00 +02:00
seatop_down.c sway/input: follow up wlroots input device events renaming 2022-03-17 21:52:59 +03:00
seatop_move_floating.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
seatop_move_tiling.c Add tab dragging functionality 2021-05-06 00:24:55 -04:00
seatop_resize_floating.c Handle border width and height on minimum floating sizes 2021-12-14 10:30:10 +01:00
seatop_resize_tiling.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
switch.c Remove access to wlr_input_device union 2022-06-22 12:44:15 -04:00
tablet.c Make libinput backend optional 2022-11-28 13:28:15 -05:00
text_input.c sway/input: don't pass possibly invalid modifiers pointer 2022-03-04 08:37:07 +01:00