Put damage tracking debugging behind a flag

This commit is contained in:
Jente Hidskes 2019-01-25 15:36:04 +01:00
parent e981cb8a1c
commit 667667505a
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);