aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index fb03ab84d82..61e3e3632b0 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -260,10 +260,10 @@ for instance using the window manager, then this produces a quit and
260 { 260 {
261 Lisp_Object tem = XCAR (position); 261 Lisp_Object tem = XCAR (position);
262 if (CONSP (tem)) 262 if (CONSP (tem))
263 window = Fcar (Fcdr (position)); 263 window = Fcar (XCDR (position));
264 else 264 else
265 { 265 {
266 tem = Fcar (Fcdr (position)); /* EVENT_START (position) */ 266 tem = Fcar (XCDR (position)); /* EVENT_START (position) */
267 window = Fcar (tem); /* POSN_WINDOW (tem) */ 267 window = Fcar (tem); /* POSN_WINDOW (tem) */
268 } 268 }
269 } 269 }