1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-07 08:59:41 +00:00
Commit Graph

308 Commits

Author SHA1 Message Date
Dave Love
ec9077f26c *** empty log message *** 2000-12-14 14:17:49 +00:00
Dave Love
5916243b18 (gray_bitmap_bits): Remove `unsigned' from
declaration.
2000-12-14 14:11:03 +00:00
Dave Love
2f90328f39 (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>:
<SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator.
2000-12-11 14:33:47 +00:00
Gerd Moellmann
ae0d748578 *** empty log message *** 2000-12-07 13:27:34 +00:00
Gerd Moellmann
27e3b1a140 (xm_arm_callback): Fix last change. 2000-12-07 12:33:32 +00:00
Gerd Moellmann
edfb795efa *** empty log message *** 2000-11-30 13:47:34 +00:00
Gerd Moellmann
924e171446 (xm_arm_callback): Handle case that W is null;
also see comment there.
2000-11-30 12:50:08 +00:00
Gerd Moellmann
cd913aae53 *** empty log message *** 2000-11-21 22:27:22 +00:00
Gerd Moellmann
f3c9e54407 (xlwmenu_redisplay): New function. 2000-11-21 22:27:08 +00:00
Stefan Monnier
0f3360b0ec (lw_separator_p): Init separator_p (bug with "-- some text"). 2000-09-30 17:03:27 +00:00
Sam Steingold
5c520e0aba * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
to avoid redefining struct timeval and struct timezone.
2000-09-28 20:30:52 +00:00
Gerd Moellmann
6567e9b550 *** empty log message *** 2000-09-25 15:42:25 +00:00
Gerd Moellmann
1b24b88816 *** empty log message *** 2000-09-21 15:08:55 +00:00
Miles Bader
b7fa4a0675 (remap_menubar):
Only include the menu-margin in the initial X & Y positions for
  horizontal menu-bars.
(fit_to_screen):
  If moving a sub-menu to the left-side, increment its x-position by the
  shadow-thickness to make it look more attached to the invoking
  menu-item (similarly to the way it would be displayed on the right side).
2000-09-04 13:04:49 +00:00
Miles Bader
43aa2f1bef (XlwMenuSetValues): Pass the correct pointer type to XtIsRealized. 2000-09-04 12:13:34 +00:00
Miles Bader
7a3d0e0ee0 *** empty log message *** 2000-09-04 11:57:57 +00:00
Miles Bader
da353f232d (XlwMenuSetValues): Only frob the display if the menu is actually displayed. 2000-09-04 11:55:02 +00:00
Miles Bader
a3d35a3982 *** empty log message *** 2000-09-03 11:40:32 +00:00
Miles Bader
65c0ae0523 (x_alloc_lighter_color_for_widget):
New extern declaration.
(make_shadow_gcs) [emacs]:
  Use x_alloc_lighter_color_for_widget to do shadow calculation.
(make_shadow_gcs):
  Remove code that tests whether the top shadow is dimmer than the bottom
    shadow--it shouldn't ever happen.
2000-09-03 11:37:45 +00:00
Miles Bader
caccd8f284 *** empty log message *** 2000-08-30 12:11:04 +00:00
Miles Bader
90c7e9f079 (XlwMenuSetValues):
If the background color has changed, re-make the shadow-gcs too.
2000-08-30 11:52:37 +00:00
Kenichi Handa
6922b01802 *** empty log message *** 2000-08-21 01:39:25 +00:00
Gerd Moellmann
f4988be716 *** empty log message *** 2000-08-03 20:24:26 +00:00
Gerd Moellmann
8dd095ee45 Use NULL at the end of the
variable argument lists of XtVaSetValues and XtVaGetValues
functions because 0 is not sufficient on systems where sizeof
(int) < sizeof (void *).
2000-08-03 20:09:56 +00:00
Gerd Moellmann
47db06aae4 *** empty log message *** 2000-07-19 15:52:13 +00:00
Gerd Moellmann
f1c16db4be Don't include <X11/bitmaps/gray> because that
leads to redefinition errors when static is defined as empty in
config.h.  Refer to the gray bitmap in xfns.c, instead.
2000-07-19 15:49:28 +00:00
Dave Love
cdefcd82ca (XtApplyToWidgets): Cast args of lwlib_bcopy. 2000-07-18 12:41:55 +00:00
Dave Love
af5e64bc8e (xlw_popup_menu): Cast arg of pop_up_menu. 2000-06-23 13:59:33 +00:00
Dave Love
123c6301b3 Include lwlib.h. 2000-06-23 13:57:34 +00:00
Gerd Moellmann
0a2ea2356d *** empty log message *** 2000-06-16 18:54:24 +00:00
Gerd Moellmann
bba2a92393 (make_shadow_gcs): Set free_top_shadow_color_p
and free_top_shadow_color_p flags in the menu widget if
top and bottom shadow colors must be freed.
(release_shadow_gcs): Free colors only if they must be freed.
2000-06-16 18:34:17 +00:00
Gerd Moellmann
457d47f892 (_XlwMenu_part): Add free_top_shadow_color_p and
free_bottom_shadow_color_p.
2000-06-16 18:33:58 +00:00
Gerd Moellmann
ed1056b307 *** empty log message *** 2000-06-12 19:12:17 +00:00
Gerd Moellmann
fc8fefedf3 (make_shadow_gcs): Free and copy colors so that
color reference counts are right.
(release_shadow_gcs): Free colors.
2000-06-12 19:12:11 +00:00
Dave Love
bb2337f5ad *** empty log message *** 2000-06-06 14:56:30 +00:00
Dave Love
a57a160552 (x_alloc_nearest_color_for_widget, x_catch_errors, x_uncatch_errors)
(x_had_errors_p, x_clear_errors): Add prototypes -- should be moved
into separate header.
(make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg.
(Start) <pop_up_menu>: Cast second arg.
2000-06-06 14:21:15 +00:00
Dave Love
fdc4d3cdb9 (P_): Use PROTOTYPES.
(safe_strdup): Declare arg const.
(lw_modify_all_widgets) <!info>: Return 0.
2000-06-06 14:15:49 +00:00
Dave Love
200ca4d576 (P_): Use PROTOTYPES. 2000-06-06 14:13:17 +00:00
Dave Love
99570665ff Enable prototypes. 2000-06-06 14:12:10 +00:00
Dave Love
4374c6b0cb (xaw_popup_menu): Add EVENT arg. 2000-06-06 14:07:57 +00:00
Dave Love
371b6f31d3 (lwlib.o): Depend on lwlib-Xlw.h.
(lwlib-Xlw.o): Depend on lwlib-Xlw.h.
(lwlib-Xaw.o): Depend on lwlib-Xaw.h.
(lwlib-Xm.o): Depend on lwlib-Xm.h.
2000-06-06 14:05:40 +00:00
Gerd Moellmann
9b2f3c3830 *** empty log message *** 2000-03-12 17:01:50 +00:00
Gerd Moellmann
d21cf544f7 (make_menubar) [LESSTIF_VERSION]: Don't set
XmNresizeHeight and XmNresizeWidth.
2000-03-12 16:22:19 +00:00
Dave Love
7397acc494 (liblw.a): Don't bother testing for ranlib failing
since configure sets it up.
2000-03-08 19:10:01 +00:00
Gerd Moellmann
1d4d17e24a (make_menubar): Set XmNresizeHeight and
XmNresizeWidth resources only if LESSTIF_VERSION is defined.
2000-03-06 22:50:15 +00:00
Gerd Moellmann
566f7ec858 (xm_manage_resizing): Rewritten. 2000-03-05 14:32:02 +00:00
Gerd Moellmann
a17063b5b4 (lw_modify_all_widgets): Return non-zero if widget
tree was changed.
(merge_widget_value): Add parameter CHANGE_P.  Set *CHANGE_P
to 1 if a change occurs.
2000-03-05 14:31:04 +00:00
Gerd Moellmann
23b4d91d7c (lw_modify_all_widgets): Change prototype. 2000-03-05 14:30:37 +00:00
Gerd Moellmann
64d739c445 *** empty log message *** 2000-03-04 16:04:15 +00:00
Gerd Moellmann
b0404f9ffc (make_shadow_gcs): Use the widget's colormap instead
of the screen's default colormap.
2000-03-04 16:04:00 +00:00
Gerd Moellmann
b6a22bf83e *** empty log message *** 2000-02-18 11:35:29 +00:00
Gerd Moellmann
2114e13f51 (merge_widget_value): Fix incorrect assignment of
safe_strdup'd help string.
2000-02-18 11:35:16 +00:00
Gerd Moellmann
e12489f9ab *** empty log message *** 2000-01-25 15:59:42 +00:00
Gerd Moellmann
640438b056 (make_menu_in_widget): Don't add XmNpopdownCallback,
add XmNunmapCallback.
(xm_unmap_callback): New function.
(xm_pull_down_callback): Call pre-activate callback only if
parent is the menu bar.
2000-01-25 15:50:53 +00:00
Gerd Moellmann
32660797d3 *** empty log message *** 2000-01-17 12:45:41 +00:00
Gerd Moellmann
d36100c99b *** empty log message *** 2000-01-17 09:50:58 +00:00
Gerd Moellmann
1f0cf6ee91 (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. 2000-01-17 09:29:10 +00:00
Gerd Moellmann
52b8dbf903 *** empty log message *** 2000-01-17 09:16:13 +00:00
Gerd Moellmann
ad45c495f6 (_XlwMenu_part): Add `highlight' callback list. 2000-01-17 09:11:23 +00:00
Gerd Moellmann
0d8f73783c (XtNhighlightCallback): New define. 2000-01-17 09:11:11 +00:00
Gerd Moellmann
d6fd637121 (xlwMenuResources): All XtNhighlightCallback.
(remap_menubar): Call highlight callback.
2000-01-17 09:10:58 +00:00
Gerd Moellmann
6431de0a0e (_widget_value): Add help string. 2000-01-17 09:10:40 +00:00
Gerd Moellmann
98f7f0d7b7 Add prototype for lw_get_widget_instance. 2000-01-17 09:10:21 +00:00
Gerd Moellmann
02512b201f (copy_widget_value_tree): Copy help string.
(free_widget_value_tree): Free help string.
(merge_widget_value): Handle help string.
(allocate_widget_info, lw_register_widget, lw_create_widget): Add
parameter HIGHLIGHT_CB.
(lw_get_widget_instance): New function.
2000-01-17 09:10:05 +00:00
Gerd Moellmann
fa616ec497 (highlight_hook): New function.
(xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as
callback XtNhighlightCallback.
2000-01-17 09:09:39 +00:00
Gerd Moellmann
d3065ce277 (xm_arm_callback): New function.
(make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and
XmNdisarmCallback for buttons (not supported for other widgets).
2000-01-17 09:09:08 +00:00
Paul Eggert
0f0912e644 Add support for large files, plus some locale improvements.
* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
xrdb-cpp.c, xrdb.c:
Include <config.h> before any system include files.

* lwlib-Xm.c, lwlib.c:
Do not include <stdlib.h> or <string.h>, as <config.h> does this.
1999-10-19 07:21:16 +00:00
Gerd Moellmann
f5737ad232 *** empty log message *** 1999-10-06 23:31:49 +00:00
Gerd Moellmann
e9ec3919bc (make_menu_in_widget, update_one_menu_entry): Use
widgets instead of gadgets to be able to set colors.
1999-10-06 23:25:07 +00:00
Dave Love
387581d8b4 # 1999-10-04 13:10:21 +00:00
Dave Love
a08cb76c5a # 1999-09-30 21:29:02 +00:00
Richard M. Stallman
8dce2ddc9d (wm_delete_window): Check all the shell's children,
not just the first, to find the dialog box.
1999-09-18 03:02:03 +00:00
Gerd Moellmann
46d74a6943 (lw_separator_p): Check for new-style separators
differently.
1999-09-14 15:30:15 +00:00
Gerd Moellmann
61e59c1dd1 (lw_separator_p): Add `--:space' with the same
meaning as `--:noLine'.
1999-09-10 16:19:33 +00:00
Gerd Moellmann
2af98732e6 (lw_separator_p): Add alternative separator type names. 1999-09-06 15:57:51 +00:00
Gerd Moellmann
dd7447ccb0 (make_shadow_gcs): Call
x_alloc_nearest_color_for_widget.
1999-09-03 18:49:53 +00:00
Gerd Moellmann
968aa0ada4 Add function prototypes.
(xm_update_label): Use val->name to look up
a label string from resources.
(all_dashes_p): Removed.
(make_menu_in_widget): Use lw_separator_p.  Set Motif separator
type.
(make_menu_in_widget): Set alignment of menu
title after all widgets have been created.
(xm_update_toggle): Add callback xm_generic_callback
instead of xm_internal_update_other_instances.
(make_menu_in_widget): Do help button before managing
children to get it to the right place.
(make_menu_in_widget): Create toggle buttons.
(update_one_menu_entry): Update toggle buttons.
(make_menu_in_widget): Test for menubar widgets
using XmNrowColumnType.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
da88f59218 (lw_separator_p): New.
(merge_widget_value): Handle button_type.
(copy_widget_value_tree): Copy button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
cedccd2efa (enum menu_separator): New.
(enum button_type): New.
(_widget_value): New member button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
be06a3dffa (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color.
(all_dashes_p): Removed.
(size_menu_item): Call lw_separator_p.
(display_menu_item): Ditto.
(display_menu): Ditto.
(draw_separator): New.
(display_menu_item): Call it.
(separator_height): New.
(size_menu_item): Call it.
(abort_gracefully): New.
(display_menu): Use it instead of abort.
(size_menu): Ditto.
(xlwMenuResources): Change previously unused
XtNmargin to 4.
(size_menu): Take margin into account.
(display_menu_item): Ditto.
(remap_menubar): Ditto.
(draw_arrow): Draw it 3D.
(radio_button_width): New.
(size_menu_item): Use new functions.
(draw_shadow_rhombus): New.
(draw_radio): Use radio_button_width and draw_shadow_rhombus.
(draw_toggle): Use toggle_button_width.
(size_menu_item): Add parameter button_width.
(size_menu): Compute button_width.
(toggle_button_width): New.
(draw_toggle): New.
(draw_radio): New.
(draw_shadow_rectangle): Add parameter `down_p'.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
7c2eb6d1fd (_window_state): Add button_width. 1999-07-21 21:43:52 +00:00
Richard M. Stallman
8a23f4d8a6 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
(lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
1998-08-02 00:29:05 +00:00
Andreas Schwab
cec17865e8 Always declare xmalloc.
[USE_XAW]: Include <X11/Xaw/Paned.h>.
(lwlib_memset, lwlib_bcopy): Explicitly declare return type.
1998-04-06 10:23:30 +00:00
Richard M. Stallman
bafa64ca78 (update_one_menu_entry): Add conditional in case XmNpositionIndex is missing. 1997-12-20 23:12:09 +00:00
Richard M. Stallman
4f08464cb8 (motion_event_is_in_menu): Extend the left and
top windows by the shadow width.
1997-09-20 04:48:29 +00:00
Richard M. Stallman
ccc1cac016 (display_menu): If an item is disabled,
don't display its submenu (if any).
1997-07-26 01:40:05 +00:00
Richard M. Stallman
5efb61c794 (pop_up_menu): Update the call to x_catch_errors. 1997-05-02 07:27:07 +00:00
Richard M. Stallman
1ba46f7d63 (enriched-translations): Add top' and choice' everywhere so that *
can be entered.
(custom-face-attributes): Don't use top-line'.
(mode-line-format): Replace (:eval mode-line-mode-name)'.
(mode-line-mode-name): New.
(make-mode-line-mouse-sensitive): Don't change default value
of x' are found before files starting with down_p'.
1997-01-22 02:04:17 +00:00
Richard M. Stallman
923f85be1c (update_one_menu_entry): Fix previous change:
When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
just modify the existing one.
1996-08-12 18:57:08 +00:00
Richard M. Stallman
61069f2b08 (merge_widget_value): Undo previous change. 1996-08-10 18:51:19 +00:00
Richard M. Stallman
565157eefa (update_one_menu_entry): When creating a pulldown
in an existing but empty menu item, in order to get a new functional
pulldown, the menu item must be switched from an XmPushButtonGadget
into a XmCascadeButtonGadget.
1996-08-10 18:48:18 +00:00
Richard M. Stallman
42de618f8f (make_menubar): Turn off menu accelerator. 1996-08-01 22:25:36 +00:00
Richard M. Stallman
2fe6d204c9 (merge_widget_value) [USE_MOTIF]: Pass along the change flag from
merged_contents.
1996-07-27 16:19:46 +00:00
Karl Heuer
1fb87c7784 Fix FSF address in comment. 1996-07-20 18:10:35 +00:00
Karl Heuer
29a0dc6ce1 (xm_update_menu): Fix loop termination test. 1996-07-13 18:51:11 +00:00
Karl Heuer
d6f8129433 Undo previous change. 1996-07-10 13:47:24 +00:00
Karl Heuer
0d7ed72012 Undo previous change. 1996-07-07 23:00:30 +00:00
Miles Bader
f5bdf293d7 Declare lw_motif_menu_related_event_p. 1996-07-04 05:59:23 +00:00
Miles Bader
0e43e01452 (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events. 1996-07-04 05:50:07 +00:00
Miles Bader
7f76dcc0ad (lw_motif_menu_related_event_p): A predicate to identify keyboard events
intended only for menus.
1996-07-04 05:46:24 +00:00
Miles Bader
d7e4738238 Declare lw_toolkit_related_event_p. 1996-07-04 05:46:22 +00:00
Richard M. Stallman
5efe98b7b6 (make_menu_in_widget): Set mapping delay
for cascade buttons to zero.
1996-06-10 17:31:25 +00:00
Richard M. Stallman
d69fa6b179 (destroy_all_children): When freeing a cascade button, free its submenu too.
(make_menu_in_widget): Use a cascade button gadget, not a widget.
Include Xm/CascadeBG.h.
1996-04-03 17:22:57 +00:00
Richard M. Stallman
6180d6be50 (tags): New target. 1996-03-29 14:52:56 +00:00
Richard M. Stallman
9009ad5554 (TAGS): Renamed from `tags' and fixed to work. 1996-03-28 18:39:26 +00:00
Richard M. Stallman
4475c22299 (xlwmenu.o): New explicit target. 1996-03-26 18:46:04 +00:00
Richard M. Stallman
0c12a958b0 (merge_widget_value): Set the this_one_change field. 1996-03-25 01:47:33 +00:00
Richard M. Stallman
63e9d9700c (struct widget_value): New field this_one_change. 1996-03-25 01:47:16 +00:00
Richard M. Stallman
0d807395f8 (destroy_all_children): New arg first_child_to_destroy.
(make_menu_in_widget): New arg keep_first_children.
(xm_update_menu): Preserve the first children even if later ones
have a structural change.
(update_one_menu_entry): Use this_one_change field.
1996-03-25 01:46:16 +00:00
Richard M. Stallman
6a21225cd1 (motion_event_is_in_menu): Make x and y signed. 1996-03-01 20:11:49 +00:00
Richard M. Stallman
c17d59fcd2 (lw_window_is_in_menubar) [USE_MOTIF]:
With Motif, the window WIN can be the menu bar widget itself.
1996-02-25 06:59:59 +00:00
Karl Heuer
53e28d2aee (free_widget_value_tree, merge_widget_value):
Use XtFree for the toolkit_data.
1996-02-21 20:54:46 +00:00
Karl Heuer
bd2c5b53f3 (lw_internal_update_other_instances): Move static var
outside the function, and rename it to lwlib_updating.
1996-02-19 07:38:02 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
7ef3956a26 (instantiate_widget_instance): Renamed from
instanciate_widget_instance (spelling correction).
All callers changed.

(merge_widget_value): Treat disappearance of entire contents
as a STRUCTURAL_CHANGE.
1996-01-12 21:48:53 +00:00
Karl Heuer
908ff139f9 Comment fixes. 1996-01-05 00:45:43 +00:00
Richard M. Stallman
ba624d0f4c (xlwMenuActionsList): Add "key" and "nothing".
(xlwMenuTranslations): Add translations for Key, KeyUp,
and for the modifier keysyms.
(Nothing, Key): New functions.

(XlwMenuSetValues): Do redisplay if non-null contents
get replaced by empty contents.
1995-12-31 19:15:18 +00:00
Karl Heuer
5750ebd89f Add #undef for index and rindex. 1995-12-21 08:06:29 +00:00
Richard M. Stallman
4f35820fbc (display_menu_item): Fix previous change. 1995-11-15 23:00:18 +00:00
Richard M. Stallman
c142163a18 (display_menu_item): Don't treat buttons specially. 1995-11-10 17:43:52 +00:00
Richard M. Stallman
a6578b63d2 (RANLIB): Get this var from configure. 1995-08-16 14:20:19 +00:00
Richard M. Stallman
86c42dbd6d (xm_popup_menu): New arg `event'. 1995-08-02 07:14:04 +00:00
Richard M. Stallman
0c7c510c4c (xlw_popup_menu): New arg event. 1995-08-02 07:13:45 +00:00
Richard M. Stallman
5b3b31d608 (lw_popup_menu): New arg event, passed along. 1995-08-02 07:13:19 +00:00
Karl Heuer
99dcca2feb (lwlib_toolkit_type): New variable. 1995-06-11 20:22:09 +00:00
Karl Heuer
3c9ce1c4f3 (Drag): Do nothing unless menu.popped_up field is set. 1995-05-29 07:16:27 +00:00
Karl Heuer
a504c8fa20 (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. 1995-05-23 03:04:22 +00:00
Karl Heuer
d111e5ab12 (activate_button, xm_update_cascadebutton): Don't use prototype. 1995-05-20 05:18:42 +00:00
Karl Heuer
9e3fe4594b Don't use prototype. 1995-05-20 05:15:49 +00:00
Richard M. Stallman
a61155bcbd (lw_refigure_widget) [USE_MOTIF]: Fix backward if. 1995-05-06 01:54:19 +00:00
Richard M. Stallman
b7cffe17fa (ALL_CFLAGS): Add -I../src. 1995-05-04 20:01:13 +00:00
Richard M. Stallman
c7d713150e [__osf__]: Include string.h and stdlib.h.
[__osf__] (xmalloc): Declared.
1995-05-04 16:15:43 +00:00
Richard M. Stallman
e363091e2c (xaw_pop_instance): Make x, y, w, h unsigned. 1995-04-15 18:34:01 +00:00
Richard M. Stallman
ccf589a69c (size_menu): Make height and label_width unsigned.
(fit_to_screen): Make screen_width and screen_height unsigned.
(motion_event_is_in_menu): Make x, y unsigned.
1995-04-15 18:33:29 +00:00
Richard M. Stallman
5b43bbf747 (update_one_menu_entry, make_menu_in_widget):
Specify more useful names in XmCreatePulldownMenu calls.
1995-04-14 03:51:10 +00:00
Richard M. Stallman
d6c5b98afe If HAVE_CONFIG_H, include config.h. 1995-04-10 08:05:13 +00:00
Richard M. Stallman
30bc62fa77 Remove function prototypes. 1995-04-10 00:34:00 +00:00
Richard M. Stallman
434b875777 (ALL_CFLAGS): Add -I${srcdir}/../src. 1995-04-09 04:58:29 +00:00
Richard M. Stallman
4386a54c09 (ALL_CFLAGS): Define HAVE_CONFIG_H. 1995-04-09 04:56:02 +00:00
Paul Reilly
41bf6a0645 (*): remove function prototypes.
(xm_pop_down_callback): Call the deactivation callback only when
popping down the top level submenu.
1995-04-08 18:01:09 +00:00
Richard M. Stallman
b69328cae2 (lwlib.o): Depend on Makefile. 1995-04-07 05:46:47 +00:00
Richard M. Stallman
0cb00a4456 (remove_grabs): Use type Widget for `menu'. 1995-04-07 05:44:36 +00:00
Paul Reilly
aebd973ee3 (ALL_CFLAGS): Allow include files to be found in
`srcdir'.
1995-02-15 19:11:32 +00:00
Richard M. Stallman
26873b7234 (maintainer-clean): Renamed from realclean. 1995-02-07 23:55:01 +00:00
Richard M. Stallman
3efac4b015 (safe_strdup): Don't use ANSI argument prototype. 1994-11-28 18:13:30 +00:00
Paul Reilly
e1241f09d8 (lw_refigure_widget): Use the macro USE_XAW rather than XAW. 1994-11-15 03:22:52 +00:00
Paul Reilly
ffa47e5469 (make_menu_in_widget): Differentiate a separator entry ("--") from a
title.
(xm_pop_down_callback): Filter all but the last pop down callbacks.
1994-11-08 13:06:07 +00:00
Paul Reilly
17eab85c8d (update_one_menu_entry): Use the parent of the cascade button as the
parent of the pulldown, rather than the cascade button itself.  This
works around a Motif SIGSEGV in the function `InSharedMenuHierarchy'.
1994-11-07 07:31:19 +00:00
Richard M. Stallman
47d52240aa (xlwmenu_default_font): New global variable.
(XlwMenuInitialize): Use xlwmenu_default_font to default
the font if necessary.  Make mw, itself, an argument.
1994-10-29 23:25:10 +00:00
Richard M. Stallman
8400b9ed37 (pop_up_menu): Pass a Display * to x_catch_errors, etc. 1994-10-26 04:57:41 +00:00