summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-09-01 11:20:04 -0700
committerAdam Jackson <ajax@redhat.com>2016-07-18 15:27:51 -0400
commitfb0802113b4c57819cba15d64baf79bf4148607e (patch)
treef040ef9bac4f3a13d4bf9191aa28503a93cd7709 /include
parent410bc047480a9f98df678dc850bc6b99c3cfb5bf (diff)
Remove readmask from screen block/wakeup handler
With no users of the interface needing the readmask anymore, we can remove it from the argument passed to these functions. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/scrnintstr.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h
index c5dadc7a6..5330714cb 100644
--- a/include/scrnintstr.h
+++ b/include/scrnintstr.h
@@ -258,12 +258,15 @@ typedef void (*ResolveColorProcPtr) (unsigned short * /*pred */ ,
typedef RegionPtr (*BitmapToRegionProcPtr) (PixmapPtr /*pPix */ );
typedef void (*ScreenBlockHandlerProcPtr) (ScreenPtr pScreen,
- void *pTimeout,
- void *pReadmask);
+ void *timeout);
+/* result has three possible values:
+ * < 0 - error
+ * = 0 - timeout
+ * > 0 - activity
+ */
typedef void (*ScreenWakeupHandlerProcPtr) (ScreenPtr pScreen,
- unsigned long result,
- void *pReadMask);
+ int result);
typedef Bool (*CreateScreenResourcesProcPtr) (ScreenPtr /*pScreen */ );