mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
fix compile errors: xfc not defined even if with WITH_XCURSOR=ON
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user