diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2006-11-27 14:47:23 +1030 |
---|---|---|
committer | Peter Hutterer <whot@hyena.localdomain> | 2006-11-27 14:47:23 +1030 |
commit | a2340a73687dfd93affb6de28a33d73fd808c96b (patch) | |
tree | 2ba6607ac30c5f9006746d7992e95cea7c7d2530 /mi/misprite.h | |
parent | 1c7568b8a1417257fa67c7fca69aa253099b9461 (diff) |
mi: free allocated memory in miDCCloseScreen and in miDCInitialize in case
of errors.
Some copyright notices.
misprite.c passes DeviceIntPtr around and down to DC (previously
miCursorInfoPtr and the plain device id).
Large cleanup in misprite.c to avoid code duplication.
Diffstat (limited to 'mi/misprite.h')
-rw-r--r-- | mi/misprite.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mi/misprite.h b/mi/misprite.h index e0c55d09b..96d2d7d54 100644 --- a/mi/misprite.h +++ b/mi/misprite.h @@ -42,7 +42,7 @@ typedef struct { CursorPtr /*pCursor*/ ); Bool (*PutUpCursor)( - int /* deviceid */, + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, CursorPtr /*pCursor*/, int /*x*/, @@ -51,7 +51,7 @@ typedef struct { unsigned long /*mask*/ ); Bool (*SaveUnderCursor)( - int /* deviceid */, + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, int /*x*/, int /*y*/, @@ -59,7 +59,7 @@ typedef struct { int /*h*/ ); Bool (*RestoreUnderCursor)( - int /* deviceid */, + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, int /*x*/, int /*y*/, @@ -67,7 +67,7 @@ typedef struct { int /*h*/ ); Bool (*MoveCursor)( - int /* deviceid */, + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, CursorPtr /*pCursor*/, int /*x*/, @@ -80,7 +80,7 @@ typedef struct { unsigned long /*mask*/ ); Bool (*ChangeSave)( - int /* deviceid */, + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, int /*x*/, int /*y*/, |