summaryrefslogtreecommitdiff
path: root/mi/miclipn.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /mi/miclipn.c
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
Diffstat (limited to 'mi/miclipn.c')
-rw-r--r--mi/miclipn.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/mi/miclipn.c b/mi/miclipn.c
index 6eca416f8..95272c176 100644
--- a/mi/miclipn.c
+++ b/mi/miclipn.c
@@ -26,18 +26,21 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/Xserver/mi/miclipn.c,v 1.4 2001/12/14 20:00:21 dawes Exp $ */
#include "X.h"
#include "windowstr.h"
#include "scrnintstr.h"
+#include "mi.h"
-static void (*clipNotify)() = 0;
-static void (*ClipNotifies[MAXSCREENS])();
+static void (*clipNotify)(WindowPtr,int,int) = 0;
+static void (*ClipNotifies[MAXSCREENS])(WindowPtr,int,int);
static void
-miClipNotifyWrapper(pWin, dx, dy)
- WindowPtr pWin;
- int dx, dy;
+miClipNotifyWrapper(
+ WindowPtr pWin,
+ int dx,
+ int dy )
{
if (clipNotify)
(*clipNotify)(pWin, dx, dy);
@@ -55,8 +58,12 @@ miClipNotifyWrapper(pWin, dx, dy)
static unsigned long clipGeneration = 0;
void
-miClipNotify (func)
- void (*func)();
+miClipNotify (
+ void (*func)(
+ WindowPtr /* pWin */,
+ int /* dx */,
+ int /* dy */
+ ) )
{
int i;