mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Give keyboard focus to unmanaged xwayland surfaces
This fixes dmenu
This commit is contained in:
parent
a5d06b6e2b
commit
2b357af7ee
4 changed files with 58 additions and 36 deletions
|
|
@ -333,7 +333,7 @@ bool input_manager_has_focus(struct sway_input_manager *input,
|
|||
|
||||
void input_manager_set_focus(struct sway_input_manager *input,
|
||||
struct sway_container *container) {
|
||||
struct sway_seat *seat ;
|
||||
struct sway_seat *seat;
|
||||
wl_list_for_each(seat, &input->seats, link) {
|
||||
seat_set_focus(seat, container);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue