mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-02 17:51:28 +03:00
refact: window frame border (#7946)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -548,6 +548,16 @@ class WindowActionPanelState extends State<WindowActionPanel>
|
||||
setState(() {});
|
||||
}
|
||||
|
||||
@override
|
||||
void onWindowFocus() {
|
||||
stateGlobal.isFocused.value = true;
|
||||
}
|
||||
|
||||
@override
|
||||
void onWindowBlur() {
|
||||
stateGlobal.isFocused.value = false;
|
||||
}
|
||||
|
||||
@override
|
||||
void onWindowMinimize() {
|
||||
stateGlobal.setMinimized(true);
|
||||
|
||||
Reference in New Issue
Block a user