1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00

(xm_manage_resizing): Rewritten.

This commit is contained in:
Gerd Moellmann 2000-03-05 14:32:02 +00:00
parent a17063b5b4
commit 566f7ec858
2 changed files with 12 additions and 16 deletions

View file

@ -1,3 +1,14 @@
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

View file

@ -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);
}