diff src/xterm.c @ 109445:051595eb9b58

Merge changes from emacs-23 branch.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 16 Jul 2010 11:42:15 -0400
parents 0ed7d8444705 60266cf487b0
children 05e7e7c46ff0
line wrap: on
line diff
--- a/src/xterm.c	Fri Jul 16 14:09:55 2010 +0200
+++ b/src/xterm.c	Fri Jul 16 11:42:15 2010 -0400
@@ -6743,7 +6743,7 @@
 	  f->mouse_moved = 0;
 
 #if defined (USE_X_TOOLKIT) || defined (USE_GTK)
-        f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window);
+        f = x_menubar_window_to_frame (dpyinfo, &event);
         /* For a down-event in the menu bar,
            don't pass it to Xt right now.
            Instead, save it away