Fix focus bug with floating containers

This commit is contained in:
Ryan Dwyer 2018-07-22 21:50:35 +10:00
parent cf5f5eaf8c
commit 3faceadffe

View file

@ -465,6 +465,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
} }
// Send event to surface // Send event to surface
seat_set_focus(seat, cont);
seat_pointer_notify_button(seat, time_msec, button, state); seat_pointer_notify_button(seat, time_msec, button, state);
} }