Mercurial > emacs
changeset 9226:fc3f748ccf9e
(lw_set_main_areas): Use xm_set_main_areas().
(lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
author | Paul Reilly <pmr@pajato.com> |
---|---|
date | Sun, 02 Oct 1994 12:07:01 +0000 |
parents | 9e28a8ef9cad |
children | 968bb25ec1af |
files | lwlib/lwlib.c |
diffstat | 1 files changed, 1 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/lwlib.c Sun Oct 02 11:55:07 1994 +0000 +++ b/lwlib/lwlib.c Sun Oct 02 12:07:01 1994 +0000 @@ -1352,21 +1352,6 @@ Boolean flag; { #if defined (USE_MOTIF) - 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); - } + xm_manage_resizing (w, flag); #endif }