diff options
Diffstat (limited to 'src/platform/wayland/clipboard.c')
| -rw-r--r-- | src/platform/wayland/clipboard.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/platform/wayland/clipboard.c b/src/platform/wayland/clipboard.c index cf39b6c..9a75953 100644 --- a/src/platform/wayland/clipboard.c +++ b/src/platform/wayland/clipboard.c @@ -600,12 +600,6 @@ bool clipboard_copy(struct clipboard *c, const char *text, uint32_t serial) return true; } -void clipboard_paste(struct clipboard *c, struct wl_surface *target) -{ - if (c && target) - (void)clipboard_request_paste(c, YASL_PRIVATE_CLIPBOARD, target, 0); -} - bool clipboard_copy_primary(struct clipboard *c, const char *text, uint32_t serial) { if (!c || !c->primary_device || !c->primary_manager) { errno = ENOTSUP; return false; } @@ -627,12 +621,6 @@ bool clipboard_copy_primary(struct clipboard *c, const char *text, uint32_t seri return true; } -void clipboard_paste_primary(struct clipboard *c, struct wl_surface *target) -{ - if (c && target) - (void)clipboard_request_paste(c, YASL_PRIVATE_PRIMARY, target, 0); -} - bool clipboard_request_paste(struct clipboard *c, enum yasl_private_selection selection, struct wl_surface *target, uint64_t request_id) { |
