diff options
-rw-r--r-- | Xi/xichangecursor.c | 3 | ||||
-rw-r--r-- | Xi/xiwarppointer.c | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c index ea5bdeb93..f071e8406 100644 --- a/Xi/xichangecursor.c +++ b/Xi/xichangecursor.c @@ -60,6 +60,9 @@ SProcXIChangeCursor(ClientPtr client) REQUEST(xXIChangeCursorReq); swaps(&stuff->length, n); + swapl(&stuff->win, n); + swapl(&stuff->cursor, n); + swaps(&stuff->deviceid, n); REQUEST_SIZE_MATCH(xXIChangeCursorReq); return (ProcXIChangeCursor(client)); } diff --git a/Xi/xiwarppointer.c b/Xi/xiwarppointer.c index bf361dbe4..bb2521c43 100644 --- a/Xi/xiwarppointer.c +++ b/Xi/xiwarppointer.c @@ -60,6 +60,15 @@ SProcXIWarpPointer(ClientPtr client) REQUEST(xXIWarpPointerReq); swaps(&stuff->length, n); + swapl(&stuff->src_win, n); + swapl(&stuff->dst_win, n); + swaps(&stuff->src_x, n); + swaps(&stuff->src_y, n); + swaps(&stuff->src_width, n); + swaps(&stuff->src_height, n); + swaps(&stuff->dst_x, n); + swaps(&stuff->dst_y, n); + swaps(&stuff->deviceid, n); return (ProcXIWarpPointer(client)); } |