This is a way of closing windows and to toggle floating on windows with the mouse in the sway tiling window manager. It has proven to smooth out my Sway usage and workflow quite a bit.
This involves making all windows/tiles have the titlebars, so that they can be engaged with. Many Sway users and ricers have preferred to get rid of the titlebars altogether, so this might not be preferable for these people.
To close a window:
- right-click titlebar
- right-click titlebar
To toggle floating
- right-click titlebar
- left-click titlebar