action: Add 'SnapToEdge'

Implements snap-style edge snapping that works between multiple monitors.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2021-10-17 00:44:24 +00:00 committed by Johan Malm
parent 6bcefc27a8
commit 8e3108c032
3 changed files with 107 additions and 0 deletions

View file

@ -337,6 +337,7 @@ void view_for_each_surface(struct view *view,
void view_for_each_popup_surface(struct view *view,
wlr_surface_iterator_func_t iterator, void *data);
void view_move_to_edge(struct view *view, const char *direction);
void view_snap_to_edge(struct view *view, const char *direction);
void view_update_title(struct view *view);
void view_update_app_id(struct view *view);