From 6933f5438f303cd90346ae779af141f910a4a1b1 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Thu, 23 Oct 2025 13:58:43 -0400 Subject: clipboard with wl-paste --- state.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'state.h') 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; -- cgit v1.2.3