mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Fix focus bug with floating containers
This commit is contained in:
parent
cf5f5eaf8c
commit
3faceadffe
|
@ -465,6 +465,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
|
|||
}
|
||||
|
||||
// Send event to surface
|
||||
seat_set_focus(seat, cont);
|
||||
seat_pointer_notify_button(seat, time_msec, button, state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue