diff options
author | Peter Harris <pharris@opentext.com> | 2010-02-12 15:36:30 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-02-12 14:55:19 -0800 |
commit | 97b03037f4d99fcebc7603011f41c3aff9871ce2 (patch) | |
tree | ce06d2d48f9298be10e84e7cd0d5b7d62110ca8c /randr | |
parent | 0b73f98cbd1803b82c2faf1a40f1a0037673d712 (diff) |
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
Tested-by: Leonardo Chiquitto <leonardo@ngdn.org>
Acked-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rrproperty.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 146facbe1..12e30e486 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); } |