aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-29 17:02:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-29 17:02:38 +0000
commit92d638eb1c34859a08605ffc79be8f0a4a3c63a3 (patch)
tree1e55eb052485f573246061f1cfe447a0b28c694a /wayland.h
parentrender: don't update last 'un-maximized' size when in fullscreen (diff)
render: csd: split up positioning from rendering
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 768fee5f..b879c319 100644
--- a/wayland.h
+++ b/wayland.h
@@ -91,6 +91,15 @@ struct wl_primary {
extern const int csd_border_size;
extern const int csd_title_size;
+enum csd_surface {
+ CSD_SURF_TITLE,
+ CSD_SURF_LEFT,
+ CSD_SURF_RIGHT,
+ CSD_SURF_TOP,
+ CSD_SURF_BOTTOM,
+ CSD_SURF_COUNT,
+};
+
struct wayland;
struct wl_window {
struct terminal *term;