diff options
Diffstat (limited to 'xorg-server/Xi/xiselectev.c')
-rw-r--r-- | xorg-server/Xi/xiselectev.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/xorg-server/Xi/xiselectev.c b/xorg-server/Xi/xiselectev.c index 168579f5b..701748eeb 100644 --- a/xorg-server/Xi/xiselectev.c +++ b/xorg-server/Xi/xiselectev.c @@ -305,13 +305,12 @@ ProcXIGetSelectedEvents(ClientPtr client) if (rc != Success) return rc; - reply = (xXIGetSelectedEventsReply) { - .repType = X_Reply, - .RepType = X_XIGetSelectedEvents, - .sequenceNumber = client->sequence, - .length = 0, - .num_masks = 0 - }; + + reply.repType = X_Reply; + reply.RepType = X_XIGetSelectedEvents; + reply.sequenceNumber = client->sequence; + reply.length = 0; + reply.num_masks = 0; masks = wOtherInputMasks(win); if (masks) { |