aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-11-17 17:30:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:36:02 +0100
commitcc01d49929f3d1ada9184a07f16184a50aa9ebd6 (patch)
tree04712aeeafbbca9c9486b8b5b97b4967cd30b521 /nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
parentffce5337d8a682a1ac88476cdda074c8a5109247 (diff)
downloadnx-libs-cc01d49929f3d1ada9184a07f16184a50aa9ebd6.tar.gz
nx-libs-cc01d49929f3d1ada9184a07f16184a50aa9ebd6.tar.bz2
nx-libs-cc01d49929f3d1ada9184a07f16184a50aa9ebd6.zip
Clipboard.c, NXproperty.c: match prototypes
The prototype for nxagentGetClipboardWindow has been changed in 63320437ed4e95246ce62193560098f986ac265c but the changes have not made it into NXproperty.c...
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Clipboard.c')
-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 1279848fc..ca9c32486 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -2033,6 +2033,11 @@ int nxagentSendNotify(xEvent *event)
return 0;
}
+/*
+ * This is called from NXproperty.c to determine if a client sets the
+ * property we are waiting for.
+ * FIXME: in addition we should check if the client is the one we expect
+ */
WindowPtr nxagentGetClipboardWindow(Atom property)
{
int i = nxagentFindLastSelectionOwnerIndex(nxagentLastRequestedSelection);