aboutsummaryrefslogtreecommitdiff
path: root/quirks.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-03 17:19:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-03 17:20:09 +0000
commite077290c56022255a986c0560f4d496a29bab55e (patch)
tree282a7ef008fdeb4f2c1d6d9b42bf079a5f5945c8 /quirks.h
parentconfig: CSD borders are always invisible (diff)
quirks: add shortcut for flipping all CSD surfaces sync/desync state
Diffstat (limited to 'quirks.h')
-rw-r--r--quirks.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quirks.h b/quirks.h
index ce4b8b01..7b6ab4f8 100644
--- a/quirks.h
+++ b/quirks.h
@@ -2,5 +2,11 @@
#include <wayland-client.h>
+#include "terminal.h"
+
void quirk_weston_subsurface_desync_on(struct wl_subsurface *sub);
void quirk_weston_subsurface_desync_off(struct wl_subsurface *sub);
+
+/* Shortcuts to call desync_{on,off} on all CSD subsurfaces */
+void quirk_weston_csd_on(struct terminal *term);
+void quirk_weston_csd_off(struct terminal *term);