about summary refs log tree commit diff
path: root/drw.h
diff options
context:
space:
mode:
authorArenM <aren@peacevolution.org>2022-07-05 12:54:33 -0400
committerZach DeCook <zachdecook@librem.one>2022-07-11 00:59:10 -0400
commit6566a7f57d695d888650d43225844f9641414919 (patch)
treebd41dae2b3add5810e7b2dbf146667a5e402f0d9 /drw.h
parent1c4df6ae2b9c94feb6b65e616520275b645bfa5c (diff)
downloadsuggpicker-6566a7f57d695d888650d43225844f9641414919.tar.gz
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.
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h1
1 files changed, 0 insertions, 1 deletions
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;