diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-01 19:15:46 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-01 19:15:46 +0800 |
commit | f980eed4c1b49393fb46f04538f2a9046cdfab2b (patch) | |
tree | dcbdbc42366eea01b9ab6126bf39dacad99c9b82 /lwlib/lwlib-Xm.c | |
parent | ad0fb40ae6921a265c6d21ed542cf6144eee0c51 (diff) | |
download | emacs-f980eed4c1b49393fb46f04538f2a9046cdfab2b.tar.gz emacs-f980eed4c1b49393fb46f04538f2a9046cdfab2b.tar.bz2 emacs-f980eed4c1b49393fb46f04538f2a9046cdfab2b.zip |
Fix crashes and other bugs on LessTif
* lwlib/lwlib-Xm.c (make_menu_in_widget): XmIsRowColumn is
broken on the latest LessTif release, so avoid that here.
* src/xfns.c (x_window): Add PropertyChangeMask which LessTif
doesn't do itself.
Diffstat (limited to 'lwlib/lwlib-Xm.c')
-rw-r--r-- | lwlib/lwlib-Xm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 1b8675c0eda..a1114d42556 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -496,9 +496,11 @@ make_menu_in_widget (widget_instance* instance, ; children = (Widget*)(void*)XtMalloc (num_children * sizeof (Widget)); +#ifndef LESSTIF_VERSION /* WIDGET should be a RowColumn. */ if (!XmIsRowColumn (widget)) emacs_abort (); +#endif /* Determine whether WIDGET is a menu bar. */ type = -1; |