mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-21 20:38:49 +02:00
fix(wm): ignore com hwnds on monitor polling
This commit is contained in:
@@ -76,7 +76,9 @@ impl WindowManager {
|
|||||||
let monitor_idx = self.monitor_idx_from_window(*window)
|
let monitor_idx = self.monitor_idx_from_window(*window)
|
||||||
.ok_or_else(|| anyhow!("there is no monitor associated with this window, it may have already been destroyed"))?;
|
.ok_or_else(|| anyhow!("there is no monitor associated with this window, it may have already been destroyed"))?;
|
||||||
|
|
||||||
self.focus_monitor(monitor_idx)?;
|
if window.class()? != "OleMainThreadWndClass" {
|
||||||
|
self.focus_monitor(monitor_idx)?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user