From c7c55c7162e9934823566cfdc716f56f64a82fd6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 18 Feb 2011 19:20:04 +0100 Subject: [PATCH] x11: request notifications of PRIMARY clipboard https://bugs.freedesktop.org/show_bug.cgi?id=34878 --- vdagent-x11.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vdagent-x11.c b/vdagent-x11.c index 4715a44..a0bdeb6 100644 --- a/vdagent-x11.c +++ b/vdagent-x11.c @@ -187,6 +187,11 @@ struct vdagent_x11 *vdagent_x11_create(struct udscs_connection *vdagentd, XFixesSetSelectionOwnerNotifyMask| XFixesSelectionWindowDestroyNotifyMask| XFixesSelectionClientCloseNotifyMask); + XFixesSelectSelectionInput(x11->display, x11->root_window, + x11->clipboard_primary_atom, + XFixesSetSelectionOwnerNotifyMask| + XFixesSelectionWindowDestroyNotifyMask| + XFixesSelectionClientCloseNotifyMask); } else fprintf(x11->errfile, "no xfixes, no guest -> client copy paste support\n"); -- 2.11.4.GIT