Mercurial > emacs
changeset 6198:d941186e8fb9
[USE_X_TOOLKIT] (xmenu_show): Pass display to XtWindowToWidget.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Fri, 04 Mar 1994 07:52:34 +0000 |
parents | 8ddddba0de43 |
children | 044dcf8b9066 |
files | src/xmenu.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Fri Mar 04 06:11:51 1994 +0000 +++ b/src/xmenu.c Fri Mar 04 07:52:34 1994 +0000 @@ -1340,9 +1340,10 @@ } XtDispatchEvent (&event); - if (XtWindowToWidget(event.xany.window) != menu) + if (XtWindowToWidget(XDISPLAY event.xany.window) != menu) { - queue_tmp = (struct event_queue *) malloc (sizeof (struct event_queue)); + queue_tmp + = (struct event_queue *) malloc (sizeof (struct event_queue)); if (queue_tmp != NULL) {