[PATCH] Do not set the SendEvent bit (0x80) in imEvToWire as the server does this for us

Sam Spilsbury sam.spilsbury at canonical.com
Tue Sep 13 19:12:59 PDT 2011


---
 modules/im/ximcp/imEvToWire.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/im/ximcp/imEvToWire.c b/modules/im/ximcp/imEvToWire.c
index 497c865..45ed2d6 100644
--- a/modules/im/ximcp/imEvToWire.c
+++ b/modules/im/ximcp/imEvToWire.c
@@ -406,8 +406,6 @@ _XimProtoEventToWire(
 		return(0);
 	}
 	/* Common process */
-	if (((XAnyEvent *)re)->send_event)
-	    event->u.u.type |= 0x80;
 	event->u.u.sequenceNumber =
 	    ((XAnyEvent *)re)->serial & ~((unsigned long)0xffff);
 	event->u.u.sequenceNumber = sw16(event->u.u.sequenceNumber, sw);
-- 
1.7.5.4


--=-kTAvoD187QmcYP5mamET--



More information about the xorg-devel mailing list