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>
This commit is contained in:
parent
0b73f98cbd
commit
97b03037f4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue