don't disable mouse coalescing on macos
This commit is contained in:
parent
579130ecb4
commit
3d186ce51f
|
@ -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_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);
|
||||||
|
|
Loading…
Reference in a new issue