From 0818d4ec5ba17314187f612a88814b02ae24b710 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:15:47 +0100 Subject: Fix: Fl_Window::fullscreen() does not work correctly on Mac (#920) --- test/fullscreen.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/fullscreen.cxx b/test/fullscreen.cxx index 44fc89a7e..780eae32d 100644 --- a/test/fullscreen.cxx +++ b/test/fullscreen.cxx @@ -139,6 +139,9 @@ void after_resize(void *data) { if (win->maximize_active()) win->b3_maxi->set(); else win->b3_maxi->clear(); win->b3_maxi->redraw(); + if (win->fullscreen_active()) win->b3->set(); + else win->b3->clear(); + win->b3->redraw(); } void fullscreen_window::resize(int x, int y, int w, int h) { -- cgit v1.2.3