]> source.dussan.org Git - tigervnc.git/commitdiff
Add debug trace when the clipboard changes
authorPierre Ossman <ossman@cendio.se>
Thu, 12 Oct 2017 15:07:15 +0000 (17:07 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 12 Oct 2017 15:07:15 +0000 (17:07 +0200)
unix/xserver/hw/vnc/vncSelection.c

index 02a1cd1e5417522f64438b0d6aedb876a5931ce1..51dfd9c6370456996b6ccf22f3608bda1831046e 100644 (file)
@@ -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;