From 6566a7f57d695d888650d43225844f9641414919 Mon Sep 17 00:00:00 2001 From: ArenM Date: Tue, 5 Jul 2022 12:54:33 -0400 Subject: only commit surface when it changed This is based off of a commit in wvkbd Previously wvkbd (and suggpicker) would commit a (usually unchanged) surface at the framerate of the compositor, this only commits the buffer when we render something new. --- drw.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drw.h') diff --git a/drw.h b/drw.h index fb3df1c..c1139f4 100644 --- a/drw.h +++ b/drw.h @@ -15,7 +15,6 @@ struct drwsurf { struct wl_surface *surf; struct wl_buffer *buf; struct wl_shm *shm; - struct wl_callback *cb; unsigned char *pool_data; cairo_t *cairo; -- cgit 1.4.1