Don't focus incoming call and project shared notification windows
This commit is contained in:
parent
86057ab071
commit
d275474b23
5 changed files with 10 additions and 1 deletions
|
@ -514,7 +514,11 @@ impl Window {
|
|||
);
|
||||
}
|
||||
}
|
||||
native_window.makeKeyAndOrderFront_(nil);
|
||||
if options.focus {
|
||||
native_window.makeKeyAndOrderFront_(nil);
|
||||
} else {
|
||||
native_window.orderFront_(nil);
|
||||
}
|
||||
|
||||
window.0.borrow().move_traffic_light();
|
||||
pool.drain();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue