From 66decac16b3cbcde70558aa565814b78ce3c9410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 26 Feb 2020 13:49:54 +0100 Subject: [PATCH] wayland: document what FOOT_CSD_OUTSIDE does --- wayland.h | 5 +++++ 1 file changed, 5 insertions(+) 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;