From e04ad71ca2cbf2f4dfbce35526dd640efe87975e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 12 Oct 2017 17:07:15 +0200 Subject: [PATCH] Add debug trace when the clipboard changes --- unix/xserver/hw/vnc/vncSelection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unix/xserver/hw/vnc/vncSelection.c b/unix/xserver/hw/vnc/vncSelection.c index 02a1cd1e..51dfd9c6 100644 --- a/unix/xserver/hw/vnc/vncSelection.c +++ b/unix/xserver/hw/vnc/vncSelection.c @@ -509,6 +509,9 @@ static void vncSelectionCallback(CallbackListPtr *callbacks, if (info->client == serverClient) return; + LOG_DEBUG("Selection owner change for %s", + NameForAtom(info->selection->selection)); + if ((info->selection->selection != xaPRIMARY) && (info->selection->selection != xaCLIPBOARD)) return; -- 2.39.5