Skip to content
Merged
2 changes: 2 additions & 0 deletions apps/desktop/src-tauri/src/target_select_overlay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ pub async fn prewarm_target_select_overlays(
.await
{
Ok(window) => {
let _ = window.set_ignore_cursor_events(true);
Comment thread
cursor[bot] marked this conversation as resolved.
prewarmed.store(display_id, window);
}
Err(e) => {
Expand Down Expand Up @@ -152,6 +153,7 @@ pub async fn open_target_select_overlays(
for display_id in &display_ids {
let mut used_prewarmed = false;
if let Some(window) = prewarmed.take(display_id) {
let _ = window.set_ignore_cursor_events(false);
window.show().ok();
if display_id == &focus_display_id {
window.set_focus().ok();
Expand Down