diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-05-13 21:02:41 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-05-13 21:02:41 +0000 |
| commit | e643c17eea3312b6871ea389d3ab754f030fc3b8 (patch) | |
| tree | 892b752a5181bdc9713b5b17f2c3adc21a714875 /src/Fl_x.cxx | |
| parent | 4aa09c6c6a6d4433cc4098cbe293b67075dbe80a (diff) | |
Fl_Gl_Window's on WIN32 now prefer accelerated pixel formats
over generic formats (STR #382)
Fl_Window::resize() did not work on some systems if the window
was not shown (STR #373)
FLUID did not write the user_data type if the user_data field
was empty (STR #374)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index c028d43a1..3499e5865 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_x.cxx,v 1.24.2.24.2.33 2004/04/11 04:38:59 easysw Exp $" +// "$Id: Fl_x.cxx,v 1.24.2.24.2.34 2004/05/13 21:02:41 easysw Exp $" // // X specific code for the Fast Light Tool Kit (FLTK). // @@ -932,6 +932,11 @@ void Fl_Window::resize(int X,int Y,int W,int H) { } else { x(X); y(Y); } + + if (resize_from_program && is_a_resize && !resizable()) { + size_range(w(), h(), w(), h()); + } + if (resize_from_program && shown()) { if (is_a_resize) { if (!resizable()) size_range(w(),h(),w(),h()); @@ -1270,5 +1275,5 @@ void Fl_Window::make_current() { #endif // -// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.33 2004/04/11 04:38:59 easysw Exp $". +// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.34 2004/05/13 21:02:41 easysw Exp $". // |
