summaryrefslogtreecommitdiff
path: root/mi/misprite.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2006-11-27 14:47:23 +1030
committerPeter Hutterer <whot@hyena.localdomain>2006-11-27 14:47:23 +1030
commita2340a73687dfd93affb6de28a33d73fd808c96b (patch)
tree2ba6607ac30c5f9006746d7992e95cea7c7d2530 /mi/misprite.h
parent1c7568b8a1417257fa67c7fca69aa253099b9461 (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.h10
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*/,