From 85256b908fca6450ccf3aee11139b01825f01bc1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 9 Feb 2020 08:43:36 +0100 Subject: Make test/fullscreen follow what doc of Fl_Window constructor says. That doc says: "Top-level windows initially have visible() set to 0 and parent() set to NULL" and here sw is created as a top-level window, so it must be made visible either by set_visible() or by show(). --- test/fullscreen.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fullscreen.cxx b/test/fullscreen.cxx index 4abdfd619..668ea460f 100644 --- a/test/fullscreen.cxx +++ b/test/fullscreen.cxx @@ -272,7 +272,7 @@ int main(int argc, char **argv) { fullscreen_window window(460,400+30*NUMB); window.end(); shape_window sw(10,10,window.w()-20,window.h()-30*NUMB-120); - + sw.set_visible(); // necessary because sw is not a child of window #if HAVE_GL sw.mode(FL_RGB); #endif -- cgit v1.2.3