mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
@@ -1464,7 +1464,8 @@ class _DisplayMenuState extends State<_DisplayMenu> {
|
||||
return Offstage();
|
||||
}
|
||||
final ffiModel = widget.ffi.ffiModel;
|
||||
final visible = !widget.ffi.canvasModel.cursorEmbedded;
|
||||
final visible =
|
||||
!widget.ffi.canvasModel.cursorEmbedded && !ffiModel.pi.is_wayland;
|
||||
if (!visible) return Offstage();
|
||||
final enabled = !ffiModel.viewOnly;
|
||||
final state = ShowRemoteCursorState.find(widget.id);
|
||||
|
||||
Reference in New Issue
Block a user