diff options
author | Pierre Willenbrock <pierre@pirsoft.de> | 2008-10-16 14:28:14 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-16 14:28:14 -0400 |
commit | 8de26770a41ec87c46eed2eddfde6f867d71fe1f (patch) | |
tree | 063823c58fe56b1a6fdb84abd8080ee5fac9ccdd /randr | |
parent | d936a4235c9625bd41569cef3452dd086284e0d7 (diff) |
RANDR: Fix output property event delivery.
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rrproperty.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |