aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-07 18:35:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-09 16:51:04 +0000
commitd04bc6ab10345f842cc05cb98959ad8b5db569f0 (patch)
tree6f922ea30712fe931ddccb6b5ee5fdc49773aa03 /config.h
parentfoot.ini: add modeline so vim uses # comments instead of ; (diff)
config: move structs and enums used by config from terminal.h -> config.h
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/config.h b/config.h
index 2f318d1d..a329af70 100644
--- a/config.h
+++ b/config.h
@@ -4,11 +4,11 @@
#include <stdbool.h>
#include <uchar.h>
+#include <xkbcommon/xkbcommon.h>
#include <tllist.h>
+#include <fcft/fcft.h>
-#include "terminal.h"
#include "user-notification.h"
-#include "wayland.h"
#define DEFINE_LIST(type) \
type##_list { \
@@ -16,6 +16,14 @@
type *arr; \
}
+/* If px != 0 then px is valid, otherwise pt is valid */
+struct pt_or_px {
+ int16_t px;
+ float pt;
+};
+
+enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BEAM };
+
enum conf_size_type {CONF_SIZE_PX, CONF_SIZE_CELLS};
struct config_font {