Put damage tracking debugging behind a flag

This commit is contained in:
Jente Hidskes 2019-01-25 15:36:04 +01:00
parent 60075d7657
commit 2765aed2b8
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
3 changed files with 49 additions and 6 deletions

View file

@ -36,6 +36,10 @@ struct cg_server {
#if CAGE_HAS_XWAYLAND
struct wl_listener new_xwayland_surface;
#endif
#ifdef DEBUG
bool debug_damage_tracking;
#endif
};
void set_window_title(struct cg_server *server, struct cg_view *view);