Commit 566f7ec8 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(xm_manage_resizing): Rewritten.

parent a17063b5
2000-03-05 Gerd Moellmann <gerd@gnu.org>
* 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 <gerd@gnu.org>
* xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead
......
......@@ -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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment