Crash in macOS when switching fullscreen window between displays (#1022)

This commit is contained in:
ManoloFLTK 2024-07-28 18:27:11 +02:00
parent 80b496cfe2
commit 9c7a473778

View File

@ -2385,7 +2385,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_14 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_14
if (views_use_CA && !window->as_gl_window() ) { if (views_use_CA && !window->as_gl_window() ) {
[self reset_aux_bitmap]; [self reset_aux_bitmap];
[self display]; window->redraw();
} }
#endif #endif
} }