summaryrefslogtreecommitdiff
path: root/src/tofi.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-15 19:37:48 +0000
committerPhil Jones <philj56@gmail.com>2021-11-15 19:37:48 +0000
commit49c7405b6a88e56bb69e12189adb719927343e07 (patch)
tree72c7691e746563cc1396c5b555659c813572c12e /src/tofi.h
parent108df42e561b7e81ba09a8c278a562129e651bb6 (diff)
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
Diffstat (limited to 'src/tofi.h')
-rw-r--r--src/tofi.h5
1 files changed, 2 insertions, 3 deletions
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;