aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_move_floating.c
Commit message (Collapse)AuthorAge
* seat: don't send button release when not pressedLibravatar emersion2019-03-04
| | | | | | | | | All seat operations except "down" eat the button pressed event and don't send it to clients. Thus, when ending such seat operations we shouldn't send the button released event. This commit moves the logic used to send pressed/released into the "down" operation.
* Refactor seat operations to use an interfaceLibravatar Ryan Dwyer2019-01-10
This splits each seat operation (drag/move tiling/floating etc) into a separate file and introduces a struct sway_seatop_impl to abstract the operation. The move_tiling_threshold operation has been merged into move_tiling. The main logic for each operation is untouched aside from variable renames. The following previously-static functions have been made public: * node_at_coords * container_raise_floating * render_rect * premultiply_alpha * scale_box