Add setting of border width and colour

This commit is contained in:
Simon Long 2024-05-03 11:23:00 +01:00
parent 68acb89d26
commit 05c89f18fb
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;
@ -141,6 +147,8 @@ struct rcxml {
/* magnifier */
int mag_scale;
int mag_size;
struct rgb_colour mag_border_col;
int mag_border_width;
};
extern struct rcxml rc;