aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-26 12:49:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-26 12:49:54 +0000
commit66decac16b3cbcde70558aa565814b78ce3c9410 (patch)
tree738d5ff9d56d0a7810b63390d97ba268654af41f
parentwayland: switch back to positioning CSDs inside the main surface (diff)
wayland: document what FOOT_CSD_OUTSIDE does
-rw-r--r--wayland.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 4e5c62ba..28145923 100644
--- a/wayland.h
+++ b/wayland.h
@@ -82,6 +82,11 @@ struct wl_primary {
uint32_t serial;
};
+/* I'd prefer to position the CSD sub-surfaces outside the main
+ * surface. Unfortunately, a lot of compositors doesn't handle this
+ * correctly. When this define is 0, we instead position the CSD
+ * sub-surfaces inside the main surface, and offset the grid content
+ * accordingly. */
#define FOOT_CSD_OUTSIDE 0
extern const int csd_border_size;
extern const int csd_title_size;