aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-23 13:58:43 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-23 13:58:43 -0400
commit6933f5438f303cd90346ae779af141f910a4a1b1 (patch)
treeedd477d1d42f35bdcbc13e5dc0aef9b1c44899e6 /state.h
parent9d8db4146d025e3a967700414a9fc68fa186045e (diff)
clipboard with wl-paste
Diffstat (limited to 'state.h')
-rw-r--r--state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/state.h b/state.h
index 1c677ec..1225f6a 100644
--- a/state.h
+++ b/state.h
@@ -60,6 +60,9 @@ typedef struct {
struct zwlr_layer_shell_v1* layer_shell;
struct zwlr_layer_surface_v1* layer_surface;
struct wl_seat* seat;
+ struct wl_data_device_manager *data_device_manager;
+ struct wl_data_device *data_device;
+ struct wl_data_offer *data_offer;
struct wl_keyboard* keyboard;
struct wl_pointer* pointer;
struct wp_cursor_shape_manager_v1* cursor_shape_manager;
@@ -113,6 +116,8 @@ typedef struct {
// state
uint32_t width, height;
+ char* clipboard;
+ size_t clipboard_size;
char* input_buffer;
item_t* items;
item_display_t* filtered_items;