SnapToRegion: Add config parser

This commit is contained in:
Consolatis 2022-07-06 17:21:02 +02:00
parent 51727cf8f7
commit 43fe138385
5 changed files with 86 additions and 0 deletions

View file

@ -23,6 +23,9 @@ struct region {
} center;
};
/* Can be used as a cheap check to detect if there are any regions configured */
bool regions_available(void);
void regions_init(struct server *server, struct seat *seat);
void regions_update(struct output *output);
void regions_destroy(struct wl_list *regions);