aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 243df207..617e8185 100644
--- a/wayland.h
+++ b/wayland.h
@@ -82,6 +82,7 @@ struct wl_primary {
uint32_t serial;
};
+#define FOOT_CSD_OUTSIDE 1
extern const int csd_border_size;
extern const int csd_title_size;
@@ -94,7 +95,7 @@ struct wl_window {
struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration;
- bool use_csd;
+ enum {CSD_UNKNOWN, CSD_NO, CSD_YES } use_csd;
struct {
struct wl_surface *surface[5];