From 08ce2e07d379d6b9925208b5da9323f948b634db Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 23 Mar 2012 16:47:53 +0000 Subject: Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Fl_Window.cxx') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 52bda8403..7ca25a220 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -50,6 +50,12 @@ void Fl_Window::_Fl_Window() { resizable(0); size_range_set = 0; minw = maxw = minh = maxh = 0; +#if FLTK_ABI_VERSION >= 10302 + no_fullscreen_x = 0; + no_fullscreen_y = 0; + no_fullscreen_w = w(); + no_fullscreen_h = h(); +#endif callback((Fl_Callback*)default_callback); } -- cgit v1.2.3