diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-14 13:42:04 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-14 13:42:04 +0000 |
| commit | 8c56fa75c7d2c865778a0e35e242536063acfb4c (patch) | |
| tree | 578538b3263b1cb2db0a3edaa7742ab2cfe5e472 | |
| parent | 4e6a41e2cdde2531174a59cae28e4eb63c0a75bb (diff) | |
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
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 7 |
2 files changed, 8 insertions, 2 deletions
@@ -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 diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index c745852fe..85edf3a04 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -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 $". // |
