mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 19:30:05 +01:00
RANDR: Fix output property event delivery.
(cherry picked from commit 8de26770a4)
This commit is contained in:
parent
42429aa326
commit
df22857b34
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue