From 108df42e561b7e81ba09a8c278a562129e651bb6 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 15 Nov 2021 00:08:23 +0000 Subject: Switch from subsurface setup to just one surface. The subsurface was playing havoc with layer shell stuff, and I don't think any potential efficiency gain is worth the complicated code to work out how big the subsurface should be. Instead, the entry code now just draws directly onto the main surface. Damage information should be passed to glTexSubImage2D() in future, to avoid redrawing the entire window every keypress. --- src/tofi.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/tofi.h') diff --git a/src/tofi.h b/src/tofi.h index d7a9dbb..586d1ca 100644 --- a/src/tofi.h +++ b/src/tofi.h @@ -15,7 +15,6 @@ struct tofi { struct wl_display *wl_display; struct wl_registry *wl_registry; struct wl_compositor *wl_compositor; - struct wl_subcompositor *wl_subcompositor; struct wl_seat *wl_seat; struct wl_output *wl_output; struct zwlr_layer_shell_v1 *zwlr_layer_shell; @@ -23,7 +22,6 @@ struct tofi { uint32_t wl_display_name; uint32_t wl_registry_name; uint32_t wl_compositor_name; - uint32_t wl_subcompositor_name; uint32_t wl_seat_name; uint32_t wl_output_name; uint32_t zwlr_layer_shell_name; -- cgit v1.2.3