extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int));
extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int));
-extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int));
+extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *,
+ XEvent *));
extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int));
#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)