diff options
author | Gregory Heytings <gregory@heytings.org> | 2021-11-16 09:00:24 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-16 09:00:24 +0100 |
commit | 24a817ccad7e67bd2bb0f23ea572073f36bdc3d9 (patch) | |
tree | 438a44f909dbfc9b1637d21d8bb0c4b10600a1fb /lwlib/xlwmenuP.h | |
parent | 977f102a49749e09cec1766158ec617704606089 (diff) | |
download | emacs-24a817ccad7e67bd2bb0f23ea572073f36bdc3d9.tar.gz |
New X resource to control the border thickness of menus
* lwlib/xlwmenu.h (XtNborderThickness, XtCBorderThickness): New X
resource name.
* lwlib/xlwmenuP.h (XlwMenuPart): New border_thickness field.
* lwlib/xlwmenu.c (xlwMenuResources): Access the new resource.
(draw_shadow_rectangle): Use the new resource value.
* doc/emacs/xresources.texi (Lucid Resources): Document the new
resource (bug#51867).
Diffstat (limited to 'lwlib/xlwmenuP.h')
-rw-r--r-- | lwlib/xlwmenuP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lwlib/xlwmenuP.h b/lwlib/xlwmenuP.h index fc77ec4bfd1..bb37b0dee2f 100644 --- a/lwlib/xlwmenuP.h +++ b/lwlib/xlwmenuP.h @@ -75,6 +75,7 @@ typedef struct _XlwMenu_part Dimension vertical_spacing; Dimension arrow_spacing; Dimension shadow_thickness; + Dimension border_thickness; Pixel top_shadow_color; Pixel bottom_shadow_color; Pixmap top_shadow_pixmap; |