diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-06-21 22:26:12 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-06-21 22:34:28 +0200 |
commit | bbf9d74c40354974cdb6023ade47bf7d8be26330 (patch) | |
tree | fed66ee97963acb136d0af3725184842bf6e81d1 /nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | |
parent | 65d29df13fc4c955ddf60a200d41d8be7283c505 (diff) | |
download | nx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.tar.gz nx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.tar.bz2 nx-libs-bbf9d74c40354974cdb6023ade47bf7d8be26330.zip |
Clipboard.c: print debug message if selection is already cleared
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Clipboard.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 09c7eb2c2..20a380817 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -927,6 +927,12 @@ void nxagentHandleSelectionClearFromXServer(XEvent *X) invalidateTargetCache(index); } + #ifdef DEBUG + else + { + fprintf(stderr, "%s: selection already cleared - doing nothing.\n", __func__); + } + #endif } } |