Fix new FLUID window grid bug (STR #166)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
4e6a41e2cd
commit
8c56fa75c7
3
CHANGES
3
CHANGES
@ -1,5 +1,8 @@
|
||||
CHANGES IN FLTK 1.1.5rc1
|
||||
|
||||
- FLUID now sets the size range when a window is shown.
|
||||
This seems to be necessary with some window managers
|
||||
(STR #166)
|
||||
|
||||
|
||||
CHANGES IN FLTK 1.1.4
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.7 2003/08/02 21:17:30 easysw Exp $"
|
||||
// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.8 2003/09/14 13:42:04 easysw Exp $"
|
||||
//
|
||||
// Window type code for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -304,6 +304,9 @@ void Fl_Window_Type::open() {
|
||||
w->show();
|
||||
w->resizable(p);
|
||||
}
|
||||
|
||||
w->size_range(gridx * snap, gridy * snap, Fl::w(), Fl::h(),
|
||||
gridx * snap, gridy * snap, 0);
|
||||
}
|
||||
|
||||
// control panel items:
|
||||
@ -792,5 +795,5 @@ int Fl_Window_Type::read_fdesign(const char* propname, const char* value) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.7 2003/08/02 21:17:30 easysw Exp $".
|
||||
// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.8 2003/09/14 13:42:04 easysw Exp $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user