aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-06 18:21:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-06 18:21:57 +0000
commite4436e84dfa68119496032621e284588c621fa99 (patch)
treeeaf7569ef09ec6fb369aa599ea4d13acadd87833 /config.h
parentsixel: CSI setters also write a reply to the client (diff)
parentwayland: remove debug logs (diff)
Merge branch 'csd'
This implements client side decorations and have been tested on GNOME and Weston. They also render correctly in KWin, but cannot be used to move or resize the window. I believe this is a bug in KWin's handling of sub-surfaces positioned outside the parent surface. Luckily, KWin uses server side decorations. This merge also contains a lot of bug fixes related to resizing and rendering of sub-surfaces in general (i.e. the scrollback search box).
Diffstat (limited to 'config.h')
-rw-r--r--config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.h b/config.h
index 3677129f..a89637e1 100644
--- a/config.h
+++ b/config.h
@@ -36,6 +36,25 @@ struct config {
} color;
} cursor;
+ struct {
+ enum { CONF_CSD_PREFER_SERVER, CONF_CSD_PREFER_CLIENT } preferred;
+
+ int title_height;
+ int border_width;
+ int button_width;
+
+ struct {
+ bool title_set;
+ bool minimize_set;
+ bool maximize_set;
+ bool close_set;
+ uint32_t title;
+ uint32_t minimize;
+ uint32_t maximize;
+ uint32_t close;
+ } color;
+ } csd;
+
size_t render_worker_count;
char *server_socket_path;
bool presentation_timings;