[PATCH] Don't set the SendEvent bit in XDamageEventToWire since the server already does this

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


---
 src/Xdamage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Xdamage.c b/src/Xdamage.c
index 3a368d2..5eaa714 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -261,7 +261,7 @@ XDamageEventToWire(Display *dpy, XEvent *event, xEvent *wire)
 	xDamageNotifyEvent *awire;
 	awire = (xDamageNotifyEvent *) wire;
 	aevent = (XDamageNotifyEvent *) event;
-	awire->type = aevent->type | (aevent->send_event ? 0x80 : 0);
+	awire->type = aevent->type;
 	awire->drawable = aevent->drawable;
 	awire->damage = aevent->damage;
 	awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0);
-- 
1.7.5.4


--=-8T7zdDDWsJOOs1BH/Nsa--



More information about the xorg-devel mailing list