From 49c7405b6a88e56bb69e12189adb719927343e07 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 15 Nov 2021 19:37:48 +0000 Subject: Multiple smaller changes. - Remove the background image and libpng dependency - Add a prompt - Add xmalloc with out-of-memory handling - Add beginnings of a rofi-like run cache --- src/tofi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tofi.h') diff --git a/src/tofi.h b/src/tofi.h index 586d1ca..3ea66f3 100644 --- a/src/tofi.h +++ b/src/tofi.h @@ -35,11 +35,10 @@ struct tofi { struct { struct surface surface; struct zwlr_layer_surface_v1 *zwlr_layer_surface; - struct image background_image; struct color background_color; struct entry entry; - int32_t width; - int32_t height; + uint32_t width; + uint32_t height; uint32_t scale; bool resize; } window; -- cgit v1.2.3