input: merge seatop_down into seatop_default

This commit merges `seatop_down` into `seatop_default`, so that they can
share binding state. Previously, bindings on button release would never
activate when the matching button press happened over a surface, as we'd
enter `seatop_down`.

Fixes #5333.
This commit is contained in:
Tudor Brindus 2020-10-31 17:32:12 -04:00
parent 0cb9282aee
commit 10f7e3b2a5
4 changed files with 96 additions and 130 deletions

View file

@ -239,9 +239,6 @@ enum wlr_edges find_resize_edge(struct sway_container *cont,
void seatop_begin_default(struct sway_seat *seat);
void seatop_begin_down(struct sway_seat *seat, struct sway_container *con,
uint32_t time_msec, int sx, int sy);
void seatop_begin_move_floating(struct sway_seat *seat,
struct sway_container *con);