wayland: document what FOOT_CSD_OUTSIDE does

This commit is contained in:
Daniel Eklöf 2020-02-26 13:49:54 +01:00
parent 1ccfceca05
commit 66decac16b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;