1
0
Fork 0

stop disabling mouse coalescing

This commit is contained in:
Alex Janka 2023-03-16 15:24:23 +11:00
parent 8dfae682d8
commit 18403c1d4f

View file

@ -292,8 +292,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_areas: *mut Object = msg_send![this, trackingAreas];
let tracking_area_count = NSArray::count(tracking_areas); let tracking_area_count = NSArray::count(tracking_areas);
let _: () = msg_send![class!(NSEvent), setMouseCoalescingEnabled: NO];
if new_window == nil { if new_window == nil {
if tracking_area_count != 0 { if tracking_area_count != 0 {
let tracking_area = NSArray::objectAtIndex(tracking_areas, 0); let tracking_area = NSArray::objectAtIndex(tracking_areas, 0);