From 9c7a4737784cfd3abe5b71ee8104a700e4f7959f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 28 Jul 2024 18:27:11 +0200 Subject: [PATCH] Crash in macOS when switching fullscreen window between displays (#1022) --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index f0a0f7956..7a06f4bfa 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2385,7 +2385,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil; #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_14 if (views_use_CA && !window->as_gl_window() ) { [self reset_aux_bitmap]; - [self display]; + window->redraw(); } #endif }