Compare commits
1 commit
50a5602bca
...
1949bda39b
Author | SHA1 | Date | |
---|---|---|---|
Alex Janka | 1949bda39b |
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue