From 8de26770a41ec87c46eed2eddfde6f867d71fe1f Mon Sep 17 00:00:00 2001 From: Pierre Willenbrock Date: Thu, 16 Oct 2008 14:28:14 -0400 Subject: [PATCH] RANDR: Fix output property event delivery. --- randr/rrproperty.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 2f1f8fb66..9bc7254f9 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -44,7 +44,13 @@ DeliverPropertyEvent(WindowPtr pWin, void *value) if (!(pRREvent->mask & RROutputPropertyNotifyMask)) continue; + 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); }