From 5ca1ee701bc4297180fa9c248d9f8810ef82550c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 27 Oct 2019 16:15:32 +0100 Subject: wayland: move clipboard/primary structs into the wayland struct These are application global and very wayland specific --- terminal.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index df70347d..999b72e0 100644 --- a/terminal.h +++ b/terminal.h @@ -171,20 +171,6 @@ enum mouse_reporting { MOUSE_URXVT, /* ?1015h */ }; -struct clipboard { - struct wl_data_source *data_source; - struct wl_data_offer *data_offer; - char *text; - uint32_t serial; -}; - -struct primary { - struct zwp_primary_selection_source_v1 *data_source; - struct zwp_primary_selection_offer_v1 *data_offer; - char *text; - uint32_t serial; -}; - enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR }; struct terminal { @@ -279,8 +265,6 @@ struct terminal { struct { struct coord start; struct coord end; - struct clipboard clipboard; - struct primary primary; } selection; bool is_searching; -- cgit v1.3