aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 15:15:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 15:15:32 +0000
commit5ca1ee701bc4297180fa9c248d9f8810ef82550c (patch)
tree89eed45b45ca6b0233bde223d5cb852ca7f7fe64 /terminal.h
parentwayland: implement wayl_win_destroy() (diff)
wayland: move clipboard/primary structs into the wayland struct
These are application global and very wayland specific
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h16
1 files changed, 0 insertions, 16 deletions
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;