aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-19 15:44:08 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-19 15:44:08 -0400
commitcd9cc6e14bb26cb3754fbe0db21dbb39d442d962 (patch)
tree7c8fe78f46379306869a14a4aaeef98623383819 /state.h
parent7877002de2a65ea0a66181aa593af355a2bbf910 (diff)
clean up drawing code
Diffstat (limited to 'state.h')
-rw-r--r--state.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/state.h b/state.h
index e2335ba..1eb9e22 100644
--- a/state.h
+++ b/state.h
@@ -47,6 +47,10 @@ typedef struct {
} item_t;
typedef struct {
+ item_t* item;
+} item_display_t;
+
+typedef struct {
// wayland
struct wl_display* display;
struct wl_registry* registry;
@@ -103,7 +107,7 @@ typedef struct {
int selected_filtered_item;
uint32_t width, height;
item_t* items;
- uint32_t* filtered_items;
+ item_display_t* filtered_items;
bool running;
int exit_code;