aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render.c3
-rw-r--r--wayland.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/render.c b/render.c
index bc054046..845bc0f1 100644
--- a/render.c
+++ b/render.c
@@ -24,6 +24,9 @@
#define min(x, y) ((x) < (y) ? (x) : (y))
#define max(x, y) ((x) > (y) ? (x) : (y))
+const int csd_border_size = 5;
+const int csd_title_size = 20;
+
struct renderer {
struct fdm *fdm;
struct wayland *wayl;
diff --git a/wayland.h b/wayland.h
index 7de13850..243df207 100644
--- a/wayland.h
+++ b/wayland.h
@@ -82,6 +82,9 @@ struct wl_primary {
uint32_t serial;
};
+extern const int csd_border_size;
+extern const int csd_title_size;
+
struct wayland;
struct wl_window {
struct terminal *term;