diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-20 14:06:30 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-20 14:06:30 +0100 |
| commit | bc606cce5703ce139eb47c3eb2fd716f23a5d84f (patch) | |
| tree | 4821ff883b3021889d8cacebf0233aa5f550a43b | |
| parent | f5628aa66de0173f4fc145586a8c83e66e32f160 (diff) | |
Simpler updateTrackingAreas method of class FLView is enough.
| -rw-r--r-- | src/Fl_cocoa.mm | 3 |
1 files changed, 1 insertions, 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; |
