From 8ab141e7080d9955e01b5b442db2a65e4f0d004b Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Fri, 12 Feb 2010 09:52:37 -0500 Subject: [PATCH] Don't double-swap the RandR PropertyNotify event The event is already swapped in randr.c/SRROutputPropertyNotifyEvent, so it should not be swapped here. X.Org Bugzilla #26511: http://bugs.freedesktop.org/show_bug.cgi?id=26511 Signed-off-by: Peter Harris --- randr/rrproperty.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 146facb..12e30e4 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -47,11 +47,6 @@ DeliverPropertyEvent(WindowPtr pWin, void *value) event->sequenceNumber = client->sequence; event->window = pRREvent->window->drawable.id; - if (client->swapped) { - int n; - swaps(&event->sequenceNumber, n); - swapl(&event->window, n); - } WriteEventsToClient(pRREvent->client, 1, (xEvent *)event); } -- 1.6.6.1