From 8033fb6c9792820a82fbdff6a14ff8a7a141ba74 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sat, 15 May 2010 13:12:44 -0700 Subject: Set event sequence number in WriteEventsToClient instead of at callers. TryClientEvents already did this; this commit just moves the assignment one level down so that no event source has to worry about sequence numbers. ...No event source, that is, except XKB, which inexplicably calls WriteToClient directly for several events. Signed-off-by: Jamey Sharp Reviewed-by: Julien Cristau Reviewed-by: Adam Jackson --- Xext/shm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Xext/shm.c') diff --git a/Xext/shm.c b/Xext/shm.c index 25043fadc..b2c42083e 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -943,7 +943,6 @@ ProcShmPutImage(ClientPtr client) ev.type = ShmCompletionCode; ev.drawable = stuff->drawable; - ev.sequenceNumber = client->sequence; ev.minorEvent = X_ShmPutImage; ev.majorEvent = ShmReqCode; ev.shmseg = stuff->shmseg; -- cgit v1.2.3