From bc606cce5703ce139eb47c3eb2fd716f23a5d84f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 20 Mar 2022 14:06:30 +0100 Subject: Simpler updateTrackingAreas method of class FLView is enough. --- src/Fl_cocoa.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 2c7fe9e81..b6e3fe766 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2410,8 +2410,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil; - (void)updateTrackingAreas { if (fl_mac_os_version >= 100500) { Fl_Window *win = [(FLWindow*)[self window] getFl_Window]; - if (!win->parent() && !win->menu_window() && !win->tooltip_window() && - win->user_data() != &Fl_Screen_Driver::transient_scale_display) { + if (!win->parent()) { while (true) { NSArray *a = [self trackingAreas]; // 10.5 if ([a count] == 0) break; -- cgit v1.2.3