summaryrefslogtreecommitdiff
path: root/hw/xquartz/applewm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/applewm.c')
-rw-r--r--hw/xquartz/applewm.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c
index 14be180a1..d2cca13f3 100644
--- a/hw/xquartz/applewm.c
+++ b/hw/xquartz/applewm.c
@@ -210,10 +210,7 @@ updateEventMask (WMEventPtr *pHead)
210 210
211/*ARGSUSED*/ 211/*ARGSUSED*/
212static int 212static int
213WMFreeClient (data, id) 213WMFreeClient (pointer data, XID id) {
214 pointer data;
215 XID id;
216{
217 WMEventPtr pEvent; 214 WMEventPtr pEvent;
218 WMEventPtr *pHead, pCur, pPrev; 215 WMEventPtr *pHead, pCur, pPrev;
219 216
@@ -237,10 +234,7 @@ WMFreeClient (data, id)
237 234
238/*ARGSUSED*/ 235/*ARGSUSED*/
239static int 236static int
240WMFreeEvents (data, id) 237WMFreeEvents (pointer data, XID id) {
241 pointer data;
242 XID id;
243{
244 WMEventPtr *pHead, pCur, pNext; 238 WMEventPtr *pHead, pCur, pNext;
245 239
246 pHead = (WMEventPtr *) data; 240 pHead = (WMEventPtr *) data;
@@ -344,10 +338,7 @@ ProcAppleWMSelectInput (register ClientPtr client)
344 */ 338 */
345 339
346void 340void
347AppleWMSendEvent (type, mask, which, arg) 341AppleWMSendEvent (int type, unsigned int mask, int which, int arg) {
348 int type, which, arg;
349 unsigned int mask;
350{
351 WMEventPtr *pHead, pEvent; 342 WMEventPtr *pHead, pEvent;
352 ClientPtr client; 343 ClientPtr client;
353 xAppleWMNotifyEvent se; 344 xAppleWMNotifyEvent se;
@@ -712,9 +703,7 @@ ProcAppleWMDispatch (
712} 703}
713 704
714static void 705static void
715SNotifyEvent(from, to) 706SNotifyEvent(xAppleWMNotifyEvent *from, xAppleWMNotifyEvent *to) {
716 xAppleWMNotifyEvent *from, *to;
717{
718 to->type = from->type; 707 to->type = from->type;
719 to->kind = from->kind; 708 to->kind = from->kind;
720 cpswaps (from->sequenceNumber, to->sequenceNumber); 709 cpswaps (from->sequenceNumber, to->sequenceNumber);