summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index d25a443d0..adc3fa094 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -111,6 +111,8 @@ void Fl_Window::draw() {
draw_children();
#ifdef __APPLE_QUARTZ__
+ // on OS X, windows have no frame. To resize a window, we drag the lower right
+ // corner. This code draws a little ribbed triangle for dragging.
extern CGContextRef fl_gc;
if (fl_gc && !parent() && resizable() && (!size_range_set || minh!=maxh || minw!=maxw)) {
int dx = Fl::box_dw(box())-Fl::box_dx(box());