We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59d7f9d commit 4284ad7Copy full SHA for 4284ad7
apps/plumeimpactor/src/macos_app.rs
@@ -24,12 +24,6 @@ pub(crate) fn set_main_window_visible(visible: bool) {
24
if !app.setActivationPolicy(policy) {
25
log::warn!("Failed to switch macOS activation policy");
26
}
27
-
28
- if visible {
29
- app.activate();
30
- } else {
31
- app.deactivate();
32
- }
33
34
35
#[cfg(target_os = "macos")]
apps/plumeimpactor/src/screen/mod.rs
@@ -118,7 +118,7 @@ impl Impactor {
118
let (id, open_task) = window::open(defaults::default_window_settings());
119
(Some(id), open_task.discard())
120
};
121
- crate::macos_app::set_main_window_visible(main_window.is_some());
+ crate::macos_app::set_main_window_visible(true);
122
crate::macos_app::reset_activation_state();
123
124
(
0 commit comments