Native cursor fixes
This commit is contained in:
parent
a104d020d0
commit
5411e23b7a
|
@ -39,7 +39,9 @@ bool loadXcursor(void) {
|
||||||
load_success = false;
|
load_success = false;
|
||||||
xcursor_handle = dlopen(xcursor_lib_name, RTLD_GLOBAL | RTLD_LAZY);
|
xcursor_handle = dlopen(xcursor_lib_name, RTLD_GLOBAL | RTLD_LAZY);
|
||||||
if (xcursor_handle == NULL) {
|
if (xcursor_handle == NULL) {
|
||||||
|
#ifdef _DEBUG
|
||||||
printf("Could not load %s: %s\n", xcursor_lib_name, dlerror());
|
printf("Could not load %s: %s\n", xcursor_lib_name, dlerror());
|
||||||
|
#endif
|
||||||
return load_success;
|
return load_success;
|
||||||
}
|
}
|
||||||
loadFunctionPointers();
|
loadFunctionPointers();
|
||||||
|
|
Loading…
Reference in New Issue