summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-09 01:48:08 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-09 01:48:08 +0000
commit99a6faa5131f95cedf978484000fcefec3e6dff4 (patch)
tree50e1ba0960204d470aee29453b3dc7b106d00f28 /src
parentb69fbf21bfbae17d57a794bfac5a4bd2927999fc (diff)
Fix valgrind warning (uninitialized variable) in Fl_Window.
Regression only with FLTK_ABI_VERSION >= 10303 (since FLTK 1.3.3). Was fixed in FLTK 1.3.4. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Window.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 78ab56131..b7a16e6b4 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -3,7 +3,7 @@
//
// Window widget class for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2016 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -57,6 +57,10 @@ void Fl_Window::_Fl_Window() {
no_fullscreen_y = 0;
no_fullscreen_w = w();
no_fullscreen_h = h();
+ fullscreen_screen_top = -1;
+ fullscreen_screen_bottom = -1;
+ fullscreen_screen_left = -1;
+ fullscreen_screen_right = -1;
callback((Fl_Callback*)default_callback);
}