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); }