Xephyr: added dummy ephyrDeviceCursorCleanup() to avoid crashing
The DeviceCursorCleanup in miPointerSpriteFuncRec can no longer be NULL it seems. Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
53ccc54ac7
commit
b387069faf
|
@ -358,13 +358,18 @@ ephyrDeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
ephyrDeviceCursorCleanup(DeviceIntPtr pDev, ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
miPointerSpriteFuncRec EphyrPointerSpriteFuncs = {
|
miPointerSpriteFuncRec EphyrPointerSpriteFuncs = {
|
||||||
ephyrRealizeCursor,
|
ephyrRealizeCursor,
|
||||||
ephyrUnrealizeCursor,
|
ephyrUnrealizeCursor,
|
||||||
ephyrSetCursor,
|
ephyrSetCursor,
|
||||||
ephyrMoveCursor,
|
ephyrMoveCursor,
|
||||||
ephyrDeviceCursorInitialize,
|
ephyrDeviceCursorInitialize,
|
||||||
NULL
|
ephyrDeviceCursorCleanup
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue