selection: add support for pasting *from* primary

This commit is contained in:
Daniel Eklöf 2019-07-11 17:02:21 +02:00
parent e56066feef
commit 703aeecb95
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 124 additions and 6 deletions

View file

@ -5,6 +5,7 @@
#include "terminal.h"
extern const struct wl_data_device_listener data_device_listener;
extern const struct zwp_primary_selection_device_v1_listener primary_selection_device_listener;
void selection_start(struct terminal *term, int col, int row);
void selection_update(struct terminal *term, int col, int row);