mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
dix: inline SProcSetSelectionOwner()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
99f32a2339
commit
8f42a071b7
@@ -161,6 +161,12 @@ ProcSetSelectionOwner(ClientPtr client)
|
||||
REQUEST(xSetSelectionOwnerReq);
|
||||
REQUEST_SIZE_MATCH(xSetSelectionOwnerReq);
|
||||
|
||||
if (client->swapped) {
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->selection);
|
||||
swapl(&stuff->time);
|
||||
}
|
||||
|
||||
UpdateCurrentTime();
|
||||
time = ClientTimeToServerTime(stuff->time);
|
||||
|
||||
|
||||
@@ -214,17 +214,6 @@ SProcGetProperty(ClientPtr client)
|
||||
return ((*ProcVector[X_GetProperty]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcSetSelectionOwner(ClientPtr client)
|
||||
{
|
||||
REQUEST(xSetSelectionOwnerReq);
|
||||
REQUEST_SIZE_MATCH(xSetSelectionOwnerReq);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->selection);
|
||||
swapl(&stuff->time);
|
||||
return ((*ProcVector[X_SetSelectionOwner]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcConvertSelection(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -353,7 +353,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
SProcDeleteProperty,
|
||||
SProcGetProperty, /* 20 */
|
||||
ProcListProperties,
|
||||
SProcSetSelectionOwner,
|
||||
ProcSetSelectionOwner,
|
||||
ProcGetSelectionOwner,
|
||||
SProcConvertSelection,
|
||||
SProcSendEvent, /* 25 */
|
||||
|
||||
@@ -75,7 +75,6 @@ int SProcSetClipRectangles(ClientPtr client);
|
||||
int SProcSetDashes(ClientPtr client);
|
||||
int SProcSetFontPath(ClientPtr client);
|
||||
int SProcSetScreenSaver(ClientPtr client);
|
||||
int SProcSetSelectionOwner(ClientPtr client);
|
||||
int SProcStoreColors(ClientPtr client);
|
||||
int SProcStoreNamedColor(ClientPtr client);
|
||||
int SProcTranslateCoords(ClientPtr client);
|
||||
|
||||
Reference in New Issue
Block a user