mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
flutter_desktop: fix cursor image when cursor moved in from other window
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1113,3 +1113,12 @@ Future<Map<String, String>> getHttpHeaders() async {
|
||||
'Bearer ${await bind.mainGetLocalOption(key: 'access_token')}'
|
||||
};
|
||||
}
|
||||
|
||||
// Simple wrapper of built-in types for refrence use.
|
||||
class SimpleWrapper<T> {
|
||||
T t;
|
||||
SimpleWrapper(this.t);
|
||||
|
||||
T get value => t;
|
||||
set value(T t) => this.t = t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user