aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-02 17:42:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-02 17:42:49 +0000
commit22ce09eb44db887d32a5b3a88740939b7285c763 (patch)
tree5f661d5d890b09ae335b4e7b8548cd76b7f2d862 /wayland.h
parentinput: raise window 'move' timeout to 200ms (diff)
config: make CSD user configurable
The user can now configure the following: * Whether to prefer CSDs or SSDs. But note that this is only a hint to the compositor - it may deny our request. Furthermore, not all compositors implement the decoration manager protocol, meaning CSDs will be used regardless of the user configuration (GNOME/mutter being the most prominent one). * Title bar size and color, including transparency * Border size and color, including transparency Also drop support for rendering the CSDs inside the main surface.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/wayland.h b/wayland.h
index b879c319..f94ad0e5 100644
--- a/wayland.h
+++ b/wayland.h
@@ -82,15 +82,6 @@ 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 1
-extern const int csd_border_size;
-extern const int csd_title_size;
-
enum csd_surface {
CSD_SURF_TITLE,
CSD_SURF_LEFT,