From: Gerd Moellmann Date: Sun, 5 Mar 2000 14:32:02 +0000 (+0000) Subject: (xm_manage_resizing): Rewritten. X-Git-Tag: emacs-pretest-21.0.90~4763 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=566f7ec8587d8cdbbf71fe51ec3acb516d685fc5;p=emacs.git (xm_manage_resizing): Rewritten. --- diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index edea041c5ee..3f6389bcda0 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,14 @@ +2000-03-05 Gerd Moellmann + + * lwlib-Xm.c (xm_manage_resizing): Rewritten. + + * lwlib.c (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. + + * lwlib.h (lw_modify_all_widgets): Change prototype. + 2000-03-04 Gerd Moellmann * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 49c32293ef5..ca9898b5130 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -1963,20 +1963,5 @@ xm_manage_resizing (w, flag) Widget w; Boolean flag; { - if (flag) - { - /* Enable the edit widget for resizing. */ - Arg al[1]; - - XtSetArg (al[0], XtNallowShellResize, 0); - XtSetValues (w, al, 1); - } - else - { - /* Disable the edit widget from resizing. */ - Arg al[1]; - - XtSetArg (al[0], XtNallowShellResize, 0); - XtSetValues (w, al, 1); - } + XtVaSetValues (w, XtNallowShellResize, flag, NULL); }