aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-08 19:12:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-09 16:51:05 +0000
commit757768dbe5a61a5fbfc628ad554f26add0397e42 (patch)
tree7b100acca663f7ff28f7c431e8c755610957000f /config.h
parentinput/search/url: pass pointer-to key-binding struct to execute() (diff)
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
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 927f4e5f..cd5bbd14 100644
--- a/config.h
+++ b/config.h
@@ -262,7 +262,7 @@ struct config {
uint32_t buttons;
uint32_t minimize;
uint32_t maximize;
- uint32_t close;
+ uint32_t quit; /* ‘close’ collides with #define in epoll-shim */
uint32_t border;
} color;