From 130f5b6dc1c2258b1a05c9319d796b96dc2d4f7e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 3 Mar 2024 17:50:49 +0100 Subject: A window needs is_resizable() true to obey fullscreen() or maximize() --- src/Fl_Window_fullscreen.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Window_fullscreen.cxx') diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx index ab9e6c6bb..f6919f87c 100644 --- a/src/Fl_Window_fullscreen.cxx +++ b/src/Fl_Window_fullscreen.cxx @@ -36,6 +36,7 @@ void Fl_Window::border(int b) { borders should not be *visible*. */ void Fl_Window::fullscreen() { + if (!is_resizable()) return; no_fullscreen_x = x(); no_fullscreen_y = y(); no_fullscreen_w = w(); -- cgit v1.2.3