From cb5f354ddc4ac1e73623cfa7276888bbfaa86011 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Sat, 22 Feb 2014 13:34:28 +0000 Subject: [PATCH] Change xcursor library name. --- Source/OpenTK/Platform/X11/API.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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