selection: wip: update selection word-wise when initial selection was by word

This commit is contained in:
Daniel Eklöf 2021-01-02 21:20:41 +01:00
parent 482690e5fb
commit 30de262d29
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 95 additions and 58 deletions

View file

@ -10,7 +10,8 @@ extern const struct zwp_primary_selection_device_v1_listener primary_selection_d
bool selection_enabled(const struct terminal *term, struct seat *seat);
void selection_start(
struct terminal *term, int col, int row, enum selection_kind kind);
struct terminal *term, int col, int row,
enum selection_kind kind, enum selection_semantic semantic);
void selection_update(struct terminal *term, int col, int row);
void selection_finalize(
struct seat *seat, struct terminal *term, uint32_t serial);