diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-20 11:16:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-20 11:29:20 +0100 |
commit | 24ab9145c7748cb344b69d70b4f8eccb0c90db76 (patch) | |
tree | 375e6ad49e81c2727e45eae13b9590ad93c4ede3 /src/sna/sna_display.c | |
parent | df0b2ce823e8bc9e994875ce349cf1da4cf8e402 (diff) |
Update to ABI 22 and NotifyFd
ABI 22 brings in a new BlockHandler/WakeupHandler interface
(SetNotifyFd) and throws out the current interface (albeit without
delivering any improvements).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_display.c')
-rw-r--r-- | src/sna/sna_display.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 10d33f25..ef29a916 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -5832,8 +5832,8 @@ static void __restore_swcursor(ScrnInfoPtr scrn) enable_fb_access(scrn, FALSE); enable_fb_access(scrn, TRUE); - RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)__restore_swcursor, - (WakeupHandlerProcPtr)NoopDDA, + RemoveBlockAndWakeupHandlers((void *)__restore_swcursor, + (void *)NoopDDA, scrn); } @@ -5843,8 +5843,8 @@ static void restore_swcursor(struct sna *sna) FreeCursor(sna->cursor.ref, None); sna->cursor.ref = NULL; - RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)__restore_swcursor, - (WakeupHandlerProcPtr)NoopDDA, + RegisterBlockAndWakeupHandlers((void *)__restore_swcursor, + (void *)NoopDDA, sna->scrn); } |