mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
Fix valgrind warning (uninitialized variable) in Fl_Window.
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -92,6 +92,8 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? 2016
|
||||
|
||||
Bug fixes
|
||||
|
||||
- Fixed valgrind warning (uninitialized variable) in Fl_Window.
|
||||
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.
|
||||
- Fixed Windows drag'n'drop not showing insert position if the drop
|
||||
target is inside the same window or process (STR #3209).
|
||||
- Fixed undefined reference building shared cairo library (STR #3276).
|
||||
|
||||
@@ -53,12 +53,21 @@ void Fl_Window::_Fl_Window() {
|
||||
size_range_set = 0;
|
||||
minw = maxw = minh = maxh = 0;
|
||||
shape_data_ = NULL;
|
||||
|
||||
#if FLTK_ABI_VERSION >= 10301
|
||||
no_fullscreen_x = 0;
|
||||
no_fullscreen_y = 0;
|
||||
no_fullscreen_w = w();
|
||||
no_fullscreen_h = h();
|
||||
#endif
|
||||
|
||||
#if FLTK_ABI_VERSION >= 10303
|
||||
fullscreen_screen_top = -1;
|
||||
fullscreen_screen_bottom = -1;
|
||||
fullscreen_screen_left = -1;
|
||||
fullscreen_screen_right = -1;
|
||||
#endif
|
||||
|
||||
callback((Fl_Callback*)default_callback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user