diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index 6a47cfa5..7d6926b7 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -1434,6 +1434,7 @@ XF86VidModeGetGammaRampSize( internal static partial class Functions { internal const string X11Library = "libX11"; + internal const string XcursorLibrary = "libXcursor.so.1"; #region XCreateWindow @@ -1482,10 +1483,10 @@ XF86VidModeGetGammaRampSize( #region Xcursor - [DllImport(X11Library)] + [DllImport(XcursorLibrary)] internal static unsafe extern XcursorImage* XcursorImageCreate(int width, int height); - [DllImport(X11Library)] + [DllImport(XcursorLibrary)] internal static unsafe extern void XcursorImageDestroy(XcursorImage* image); #endregion