Add setting of border width and colour

This commit is contained in:
Simon Long 2024-05-03 11:23:00 +01:00
parent 22003ee6af
commit 59e83e5bd3
4 changed files with 50 additions and 12 deletions

View file

@ -41,6 +41,12 @@ struct usable_area_override {
struct wl_list link; /* struct rcxml.usable_area_overrides */
};
struct rgb_colour {
int r;
int g;
int b;
};
struct rcxml {
/* from command line */
char *config_dir;
@ -144,6 +150,8 @@ struct rcxml {
/* magnifier */
int mag_scale;
int mag_size;
struct rgb_colour mag_border_col;
int mag_border_width;
};
extern struct rcxml rc;