overlay: take into account <core><gap> for region overlay

This commit is contained in:
tokyo4j 2025-07-05 16:07:04 +09:00 committed by Johan Malm
parent 38e57891b5
commit 6e7c4a181e
3 changed files with 52 additions and 42 deletions

View file

@ -504,6 +504,7 @@ enum view_edge view_edge_invert(enum view_edge edge);
/* If view is NULL, the size of SSD is not considered */
struct wlr_box view_get_edge_snap_box(struct view *view, struct output *output,
enum view_edge edge);
struct wlr_box view_get_region_snap_box(struct view *view, struct region *region);
/**
* view_is_focusable() - Check whether or not a view can be focused