mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-21 12:10:07 +01:00
RANDR: Fix output property event delivery.
This commit is contained in:
parent
d936a4235c
commit
8de26770a4
1 changed files with 6 additions and 0 deletions
|
|
@ -44,7 +44,13 @@ DeliverPropertyEvent(WindowPtr pWin, void *value)
|
||||||
if (!(pRREvent->mask & RROutputPropertyNotifyMask))
|
if (!(pRREvent->mask & RROutputPropertyNotifyMask))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
event->sequenceNumber = client->sequence;
|
||||||
event->window = pRREvent->window->drawable.id;
|
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);
|
WriteEventsToClient(pRREvent->client, 1, (xEvent *)event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue