aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-02-13 23:39:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:21 +0200
commit34109b856807a264e40aa7a87b3963e876ce3bbf (patch)
treee54775f4a4cbb47a9033f215ca55970072dace58 /nx-X11/programs
parentc6aed6ad1db4d6bb01c5c5f8f53e5f2d42d443bb (diff)
downloadnx-libs-34109b856807a264e40aa7a87b3963e876ce3bbf.tar.gz
nx-libs-34109b856807a264e40aa7a87b3963e876ce3bbf.tar.bz2
nx-libs-34109b856807a264e40aa7a87b3963e876ce3bbf.zip
Clipboard.c: deactivate unused code
For now deactivate nxagentResetSelectionOwner. Must do some research before removing it completely.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 4ccd2e45c..302181b5e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -238,7 +238,9 @@ static void endTransfer(Bool success);
#define SELECTION_FAULT False
void nxagentTransferSelection(int resource);
void nxagentCollectPropertyEvent(int resource);
+#if 0
void nxagentResetSelectionOwner(void);
+#endif
WindowPtr nxagentGetClipboardWindow(Atom property);
void nxagentNotifyConvertFailure(ClientPtr client, Window requestor,
Atom selection, Atom target, Time time);
@@ -1473,6 +1475,8 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
}
}
+#if 0
+/* FIXME: currently unused */
/*
* Let nxagent's serverWindow acquire the selection. All requests from
* the real X server (or its clients) will be sent to this window. The
@@ -1516,6 +1520,7 @@ void nxagentResetSelectionOwner(void)
/* Hmm, this is already None when reaching this */
lastServerRequestor = None;
}
+#endif
#ifdef NXAGENT_CLIPBOARD