summaryrefslogtreecommitdiff
path: root/shared/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/frame.c')
-rw-r--r--shared/frame.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/frame.c b/shared/frame.c
index a039d157..35e6b65e 100644
--- a/shared/frame.c
+++ b/shared/frame.c
@@ -578,6 +578,14 @@ frame_opaque_rect(struct frame *frame, int32_t *x, int32_t *y,
*height = frame->height - frame->opaque_margin * 2;
}
+int
+frame_get_shadow_margin(struct frame *frame)
+{
+ frame_refresh_geometry(frame);
+
+ return frame->shadow_margin;
+}
+
uint32_t
frame_status(struct frame *frame)
{