On Winows, Fix deedlock with WM_MOUSEMOVE

The lock was still present in `None` path.

Fixes: d37d1a03b(On Windows, fix deadlock during `Cursor{Enter,Leave}`)
This commit is contained in:
Kirill Chibisov
2023-10-25 18:32:16 +04:00
committed by GitHub
parent b2a2ec91ae
commit 62ed51a138

View File

@@ -1496,7 +1496,7 @@ unsafe fn public_window_callback_inner<T: 'static>(
},
});
}
PointerMoveKind::None => (),
PointerMoveKind::None => drop(w),
}
// handle spurious WM_MOUSEMOVE messages