From e8782db9c840e42827dafa4ec1ca9849f91b9b59 Mon Sep 17 00:00:00 2001 From: adnano Date: Tue, 27 Feb 2024 11:23:12 -0500 Subject: Move menu and rendering logic into separate files --- pool-buffer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pool-buffer.h') diff --git a/pool-buffer.h b/pool-buffer.h index 1549041..e07802d 100644 --- a/pool-buffer.h +++ b/pool-buffer.h @@ -1,4 +1,7 @@ /* Taken from sway. MIT licensed */ +#ifndef WMENU_POOL_BUFFER_H +#define WMENU_POOL_BUFFER_H + #include #include #include @@ -19,3 +22,5 @@ struct pool_buffer { struct pool_buffer *get_next_buffer(struct wl_shm *shm, struct pool_buffer pool[static 2], int32_t width, int32_t height, int32_t scale); void destroy_buffer(struct pool_buffer *buffer); + +#endif -- cgit v1.2.3