RANDR: Fix output property event delivery.
This commit is contained in:
parent
d936a4235c
commit
8de26770a4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user