quirks: add shortcut for flipping all CSD surfaces sync/desync state

This commit is contained in:
Daniel Eklöf 2020-03-03 18:19:47 +01:00
parent c90d70b2bf
commit e077290c56
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 28 additions and 20 deletions

View file

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