aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-02-15 00:44:13 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-31 12:52:35 +0200
commitea0da6aa1a9235b4aa0309409feed475c818fcaa (patch)
tree0dfe94bc437f071f6aab82d826feea1dd8f89d22
parentad55ebc93dc23e876dc2562c0241c5f2c5d1433f (diff)
downloadnx-libs-ea0da6aa1a9235b4aa0309409feed475c818fcaa.tar.gz
nx-libs-ea0da6aa1a9235b4aa0309409feed475c818fcaa.tar.bz2
nx-libs-ea0da6aa1a9235b4aa0309409feed475c818fcaa.zip
Clipboard.c: drop unused return code of sendSelectionNotifyEventToClient
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index c0b8c2364..185a916d2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -246,12 +246,12 @@ static void notifyConvertFailure(ClientPtr client, Window requestor,
Atom selection, Atom target, Time time);
static void setSelectionOwner(Selection *pSelection);
static int sendEventToClient(ClientPtr client, xEvent *pEvents);
-static int sendSelectionNotifyEventToClient(ClientPtr client,
- Time time,
- Window requestor,
- Atom selection,
- Atom target,
- Atom property);
+static void sendSelectionNotifyEventToClient(ClientPtr client,
+ Time time,
+ Window requestor,
+ Atom selection,
+ Atom target,
+ Atom property);
static Status sendSelectionNotifyEventToServer(XSelectionEvent *event_to_send);
#ifdef DEBUG
static void printSelectionStat(int sel);
@@ -486,7 +486,7 @@ static int sendEventToClient(ClientPtr client, xEvent *pEvents)
return TryClientEvents(client, pEvents, 1, NoEventMask, NoEventMask, NullGrab);
}
-static int sendSelectionNotifyEventToClient(ClientPtr client,
+static void sendSelectionNotifyEventToClient(ClientPtr client,
Time time,
Window requestor,
Atom selection,
@@ -510,7 +510,7 @@ static int sendSelectionNotifyEventToClient(ClientPtr client,
CLINDEX(client));
#endif
- return sendEventToClient(client, &x);
+ sendEventToClient(client, &x);
}
/*