From 587e1d170b1b7f0757d24cb44769b7af2993bf8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 5 Jun 2006 12:09:30 +0000 Subject: STR #1309: resize indicator not showing if size range does not permit resizing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index cc539c715..5425aaa1d 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -107,7 +107,7 @@ void Fl_Window::draw() { Fl_Widget::label(0); Fl_Group::draw(); #ifdef __APPLE_QUARTZ__ - if (!parent() && resizable()) { + if (!parent() && resizable() && (!size_range_set || minh!=maxh || minw!=maxw)) { int dx = Fl::box_dw(box())-Fl::box_dx(box()); int dy = Fl::box_dh(box())-Fl::box_dy(box()); if (dx<=0) dx = 1; -- cgit v1.2.3