[PATCH vdagent 0/2] clipboard system redesign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
these two patches replace the current clipboard handling code, which uses Xlib, with code utilizing GTK+. The code was moved from x11.c to clipboard.c
Although GTK+ can work on Wayland natively, this code currently works only under X. gdk_set_allowed_backends("x11") in vdagent.c is called to force GTK+ to always use X11 backend.

The implementation is partially based on the code in spice-gtk (spice-gtk-session.c).

Cheers,

Jakub Janků (2):
  vdagent-x11: remove clipboard handling
  vdagent: handle clipboard using GTK+

 Makefile.am             |    2 +
 src/vdagent/clipboard.c |  401 ++++++++++++++++++
 src/vdagent/clipboard.h |   42 ++
 src/vdagent/vdagent.c   |   38 +-
 src/vdagent/x11-priv.h  |   91 ----
 src/vdagent/x11.c       | 1074 +----------------------------------------------
 src/vdagent/x11.h       |   10 -
 7 files changed, 472 insertions(+), 1186 deletions(-)
 create mode 100644 src/vdagent/clipboard.c
 create mode 100644 src/vdagent/clipboard.h

-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]