fix compile errors: xfc not defined even if with WITH_XCURSOR=ON

This commit is contained in:
Li Gang
2025-05-25 14:25:24 +08:00
parent 7cbed1570d
commit c389b2b8b1

View File

@@ -380,8 +380,8 @@ static BOOL xf_Pointer_Set(rdpContext* context, rdpPointer* pointer)
{
WLog_WARN(TAG, "handle=%ld", handle);
}
#endif
xfc->isCursorHidden = false;
#endif
return TRUE;
}
@@ -413,8 +413,8 @@ static BOOL xf_Pointer_SetNull(rdpContext* context)
XDefineCursor(xfc->display, handle, nullcursor);
xf_unlock_x11(xfc);
#endif
xfc->isCursorHidden = true;
#endif
return TRUE;
}
@@ -431,8 +431,8 @@ static BOOL xf_Pointer_SetDefault(rdpContext* context)
XUndefineCursor(xfc->display, handle);
xf_unlock_x11(xfc);
#endif
xfc->isCursorHidden = false;
#endif
return TRUE;
}