mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
config: rename csd.color.close -> quit
This fixes a compilation error on FreeBSD:
../../foot/render.c:2055:45: error: no member named 'epoll_shim_close' in 'struct config::(anonymous at ../../foot/config.h:254:9)'
conf_color = &term->conf->csd.color.close;
~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:8:15:
note: expanded from macro 'close': #define close epoll_shim_close
This commit is contained in:
parent
fed90646d3
commit
757768dbe5
4 changed files with 4 additions and 4 deletions
2
config.c
2
config.c
|
|
@ -1451,7 +1451,7 @@ parse_section_csd(struct context *ctx)
|
|||
}
|
||||
|
||||
else if (strcmp(key, "button-close-color") == 0) {
|
||||
if (!value_to_color(ctx, &conf->csd.color.close, true))
|
||||
if (!value_to_color(ctx, &conf->csd.color.quit, true))
|
||||
return false;
|
||||
|
||||
conf->csd.color.close_set = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue