qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v1 0/1] clipboard sharing implementation for SDL
@ 2023-11-08  2:21 Kamay Xutax
  2023-11-08  2:21 ` [PATCH RFC v1 1/1] ui/sdl2: " Kamay Xutax
  2023-11-09  7:01 ` [PATCH RFC v1 0/1] " Markus Armbruster
  0 siblings, 2 replies; 6+ messages in thread
From: Kamay Xutax @ 2023-11-08  2:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kamay Xutax

Hello,

This is my first try contributing to QEMU,
and I would like some advices before merging my patch into master branch.

Current implementation works with qemu-vdagent character device.
I decided to ignore QemuClipboardPeer's request function pointer
for my current implementation because I couldn't get any clipboard
requests from the host with,
so instead I've decided to use SDL event loop with SDL_CLIPBOARDUPDATE
and handle the request from here.
I suppose this is the normal behavior, but since I'm not entirely
sure I would like some confirmation or advices about it.

I'm getting also a wanring from the scripts/checkpatch.pl
since I've added a c file for the implementation,
it asks me to update MAINTAINERS, I would gladly put myself here
but I think this decision shouldn't be taken by me.

I'm also up to any corrections if there's errors or something you want
to change in the code.

Thank you.

Kamay Xutax (1):
  ui/sdl2: clipboard sharing implementation for SDL

 include/ui/sdl2.h   |   5 ++
 meson.build         |   1 +
 ui/meson.build      |   1 +
 ui/sdl2-clipboard.c | 147 ++++++++++++++++++++++++++++++++++++++++++++
 ui/sdl2.c           |   8 +++
 5 files changed, 162 insertions(+)
 create mode 100644 ui/sdl2-clipboard.c

-- 
2.41.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-14 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08  2:21 [PATCH RFC v1 0/1] clipboard sharing implementation for SDL Kamay Xutax
2023-11-08  2:21 ` [PATCH RFC v1 1/1] ui/sdl2: " Kamay Xutax
2023-11-14 11:23   ` Marc-André Lureau
2023-11-14 12:28     ` BALATON Zoltan
2023-11-14 12:36       ` Marc-André Lureau
2023-11-09  7:01 ` [PATCH RFC v1 0/1] " Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).