From e90c3f90d47e6ad02103bd6afc849e4fce8a5158 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 5 Dec 2001 23:02:18 +0000 Subject: [PATCH] (x_report_frame_params): Return actual fringe widths. --- mac/src/macfns.c | 4 ++++ src/w32fns.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mac/src/macfns.c b/mac/src/macfns.c index 312c9e5c719..04055d4caf5 100644 --- a/mac/src/macfns.c +++ b/mac/src/macfns.c @@ -1002,6 +1002,10 @@ x_report_frame_params (f, alistptr) make_number (f->output_data.mac->border_width)); store_in_alist (alistptr, Qinternal_border_width, make_number (f->output_data.mac->internal_border_width)); + store_in_alist (alistptr, Qleft_fringe, + make_number (f->output_data.mac->left_fringe_width)); + store_in_alist (alistptr, Qright_fringe, + make_number (f->output_data.mac->right_fringe_width)); sprintf (buf, "%ld", (long) FRAME_MAC_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf)); diff --git a/src/w32fns.c b/src/w32fns.c index 3d149c53cf7..3f8e5f0036d 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -1076,6 +1076,10 @@ x_report_frame_params (f, alistptr) make_number (f->output_data.w32->border_width)); store_in_alist (alistptr, Qinternal_border_width, make_number (f->output_data.w32->internal_border_width)); + store_in_alist (alistptr, Qleft_fringe, + make_number (f->output_data.w32->left_fringe_width)); + store_in_alist (alistptr, Qright_fringe, + make_number (f->output_data.w32->right_fringe_width)); sprintf (buf, "%ld", (long) FRAME_W32_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf)); -- 2.39.5