Bug#497337: Patch fixing XEViE
The attached patch fixes the XEvIE problems. I'll send it upstream to
XOrg as soon as I get their bugzilla to work, but I'd appreciate if it
could be included in the debian builds in the meantime, as I have users
complaining about this :)
--- pristine/xorg-server-1.4.2/Xext/xevie.c 2008-06-10 19:57:18.000000000 +0200
+++ xorg-server-1.4.2/Xext/xevie.c 2008-09-01 17:32:07.000000000 +0200
@@ -213,6 +213,7 @@
xevieModifiersOn = FALSE;
+ rep.length = 0;
rep.type = X_Reply;
rep.sequence_number = client->sequence;
WriteToClient (client, sizeof (xXevieStartReply), (char *)&rep);
@@ -232,6 +233,7 @@
XevieEnd(xevieClientIndex);
}
+ rep.length = 0;
rep.type = X_Reply;
rep.sequence_number = client->sequence;
WriteToClient (client, sizeof (xXevieEndReply), (char *)&rep);
@@ -250,6 +252,7 @@
return BadAccess;
xE = (xEvent *)&stuff->event;
+ rep.length = 0;
rep.type = X_Reply;
rep.sequence_number = client->sequence;
WriteToClient (client, sizeof (xXevieSendReply), (char *)&rep);
@@ -294,6 +297,7 @@
return BadAccess;
xevieMask = (long)stuff->event_mask;
+ rep.length = 0;
rep.type = X_Reply;
rep.sequence_number = client->sequence;
WriteToClient (client, sizeof (xXevieSelectInputReply), (char *)&rep);
Reply to: