From: Pierre Ossman Date: Thu, 12 Oct 2017 15:07:15 +0000 (+0200) Subject: Add debug trace when the clipboard changes X-Git-Tag: v1.8.90~88 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e04ad71ca2cbf2f4dfbce35526dd640efe87975e;p=tigervnc.git Add debug trace when the clipboard changes --- 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;