about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibxcursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped32/wrappedlibxcursor.c')
-rw-r--r--src/wrapped32/wrappedlibxcursor.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wrapped32/wrappedlibxcursor.c b/src/wrapped32/wrappedlibxcursor.c
index f03ac6dc..757002ab 100644
--- a/src/wrapped32/wrappedlibxcursor.c
+++ b/src/wrapped32/wrappedlibxcursor.c
@@ -188,5 +188,19 @@ EXPORT void* my32_XcursorImagesLoadCursors(x64emu_t* emu, void* dpy, void* image
 	return ret;
 }
 
+EXPORT void* my32_XcursorLibraryLoadImages(x64emu_t* emu, void* name, void* theme, int size)
+{
+	void* ret = my->XcursorLibraryLoadImages(name, theme, size);
+	inplace_XcursorImages_shrink(ret);
+	return ret;
+}
+
+EXPORT void* my32_XcursorShapeLoadImages(x64emu_t* emu, uint32_t shape, void* theme, int size)
+{
+	void* ret = my->XcursorShapeLoadImages(shape, theme, size);
+	inplace_XcursorImages_shrink(ret);
+	return ret;
+}
+
 #include "wrappedlib_init32.h"