summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-26 12:15:47 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-26 12:15:47 +0100
commit0818d4ec5ba17314187f612a88814b02ae24b710 (patch)
tree731622b0462a9d54b1f0bb11a98f2ca3ce857813 /test
parent41740caa2e8542c155980486638f3fb0b781862a (diff)
Fix: Fl_Window::fullscreen() does not work correctly on Mac (#920)
Diffstat (limited to 'test')
-rw-r--r--test/fullscreen.cxx3
1 files changed, 3 insertions, 0 deletions
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) {