1
0
Fork 0

don't disable mouse coalescing on macos

This commit is contained in:
Alex Janka 2023-10-09 09:38:06 +11:00
parent 579130ecb4
commit 3d186ce51f

View file

@ -347,8 +347,6 @@ extern "C" fn view_will_move_to_window(this: &Object, _self: Sel, new_window: id
let tracking_areas: *mut Object = msg_send![this, trackingAreas];
let tracking_area_count = NSArray::count(tracking_areas);
let _: () = msg_send![class!(NSEvent), setMouseCoalescingEnabled: NO];
if new_window == nil {
if tracking_area_count != 0 {
let tracking_area = NSArray::objectAtIndex(tracking_areas, 0);