mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix compilation error in lwlib/xlwmenu.c.
* lwlib/xlwmenu.c (XlwMenuRealize): Fix x_catch_errors and x_uncatch_errors invocation. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-568
This commit is contained in:
parent
40a1b46245
commit
16b555334a
1 changed files with 2 additions and 2 deletions
|
|
@ -1824,11 +1824,11 @@ XlwMenuRealize (w, valueMask, attributes)
|
|||
frame on a display. I can not find their reason, but they are
|
||||
annoying so for now let's ignore any errors here. -- lorentey */
|
||||
#ifdef emacs
|
||||
count = x_catch_errors (XtDisplay (w));
|
||||
x_catch_errors (XtDisplay (w));
|
||||
#endif
|
||||
XChangeWindowAttributes (XtDisplay (w), XtWindow (w), mask, &xswa);
|
||||
#ifdef emacs
|
||||
x_uncatch_errors (XtDisplay (w), count);
|
||||
x_uncatch_errors ();
|
||||
#endif
|
||||
|
||||
mw->menu.windows [0].window = XtWindow (w);
|
||||
|
|
|
|||
Loading…
Reference in a new issue