diff options
| author | Berke Güzel <berke.guzel@gdh.digital> | 2026-10-14 09:38:31 +0300 |
|---|---|---|
| committer | Berke Güzel <berke.guzel@gdh.digital> | 2026-10-14 09:38:31 +0300 |
| commit | 5ef6ca21ab9e1cf4f69254234d190a634b777d52 (patch) | |
| tree | 974d3797a6d9487e54a811e224bf78a3f52dda85 /src/platform/wayland/keyboard.c | |
| parent | 563b23a33726289387193b85d90fb569631ee05f (diff) | |
Remove deprecated Cocoa OpenGL and private compatibility APIs
Diffstat (limited to 'src/platform/wayland/keyboard.c')
| -rw-r--r-- | src/platform/wayland/keyboard.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/platform/wayland/keyboard.c b/src/platform/wayland/keyboard.c index 6f9dec9..9637341 100644 --- a/src/platform/wayland/keyboard.c +++ b/src/platform/wayland/keyboard.c @@ -425,11 +425,6 @@ int wayland_display_modifiers(const struct wayland_display *c) return c ? seat_modifiers(c->active_seat ? c->active_seat : c->seats) : 0; } -void wayland_display_copy(struct wayland_display *c, enum yasl_private_selection sel, const char *text) -{ - (void)wayland_display_copy_text(c, sel, text); -} - bool wayland_display_copy_text(struct wayland_display *c, enum yasl_private_selection sel, const char *text) { @@ -453,21 +448,6 @@ bool wayland_display_copy_text(struct wayland_display *c, enum yasl_private_sele return ok; } -void wayland_display_paste(struct wayland_display *c, enum yasl_private_selection sel, struct wayland_surface *target) -{ - struct seat *s = c ? (c->active_seat ? c->active_seat : c->seats) : NULL; - if (!target || target->closed || target->destroyed) return; - if (!s || !s->clipboard) { - yasl_private_surface_complete_paste(&target->base, 0, - YASL_PRIVATE_TRANSFER_UNAVAILABLE, NULL, 0); - return; - } - if (sel == YASL_PRIVATE_PRIMARY) - clipboard_paste_primary(s->clipboard, target->surface); - else - clipboard_paste(s->clipboard, target->surface); -} - bool wayland_display_request_paste(struct wayland_display *c, enum yasl_private_selection sel, struct wayland_surface *target, uint64_t request_id) { @@ -485,8 +465,3 @@ bool wayland_display_request_paste(struct wayland_display *c, enum yasl_private_ if (!ok) errno = ENOMEM; return ok; } - -bool wayland_surface_poll_event(struct wayland_surface *w, struct yasl_private_event *ev) -{ - return w && ev && input_queue_pop(&w->input, ev); -} |
