summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index f1f3d795e..f7365630b 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -1831,6 +1831,11 @@ static int get_window_frame_sizes(Fl_Window *win, int *pbx, int *pby) {
return top;
}
+void Fl_Cocoa_Window_Driver::decoration_sizes(int *top, int *left, int *right, int *bottom) {
+ *top = get_window_frame_sizes(pWindow, left, bottom);
+ *right = *left;
+}
+
/*
* smallest x coordinate in screen space of work area of menubar-containing display
*/