summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-06-05 12:09:30 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-06-05 12:09:30 +0000
commit587e1d170b1b7f0757d24cb44769b7af2993bf8d (patch)
treec419d432e20a845b01acbf808b746b67fd0261b8 /src/Fl_Window.cxx
parent9c0a2c0a0ff09aee7d33bc98d2ca32515870d463 (diff)
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
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx2
1 files changed, 1 insertions, 1 deletions
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;