Mercurial > emacs
comparison lwlib/lwlib-Xm.c @ 28116:25edeaccc41f
(make_menubar) [LESSTIF_VERSION]: Don't set
XmNresizeHeight and XmNresizeWidth.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 12 Mar 2000 16:22:19 +0000 |
parents | 0794d93da030 |
children | 03450acee9d8 |
comparison
equal
deleted
inserted
replaced
28115:48db2ba485bf | 28116:25edeaccc41f |
---|---|
1490 int ac; | 1490 int ac; |
1491 | 1491 |
1492 ac = 0; | 1492 ac = 0; |
1493 XtSetArg(al[ac], XmNmenuAccelerator, 0); ++ac; | 1493 XtSetArg(al[ac], XmNmenuAccelerator, 0); ++ac; |
1494 | 1494 |
1495 #ifdef LESSTIF_VERSION | 1495 #if 0 |
1496 /* As of 2000-01-17, the LessTif menu bar resizes to height 0 when | 1496 /* As of 2000-01-17, the LessTif menu bar resizes to height 0 when |
1497 all its children are removed, causing an annoying flickering | 1497 all its children are removed, causing an annoying flickering |
1498 behavior. Prevent that by not allowing resizing. */ | 1498 behavior. Prevent that by not allowing resizing. */ |
1499 XtSetArg(al[ac], XmNresizeHeight, False); ++ac; | 1499 XtSetArg(al[ac], XmNresizeHeight, False); ++ac; |
1500 XtSetArg(al[ac], XmNresizeWidth, False); ++ac; | 1500 XtSetArg(al[ac], XmNresizeWidth, False); ++ac; |