comparison src/menubar-x.c @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 84b14dcb0985
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
654 lw_destroy_all_widgets (id); 654 lw_destroy_all_widgets (id);
655 } 655 }
656 656
657 657
658 static void 658 static void
659 make_dummy_xbutton_event (XEvent *dummy, 659 make_dummy_xbutton_event (XEvent *dummy, Widget daddy, Lisp_Event *eev)
660 Widget daddy,
661 struct Lisp_Event *eev)
662 /* NULL for eev means query pointer */ 660 /* NULL for eev means query pointer */
663 { 661 {
664 XButtonPressedEvent *btn = (XButtonPressedEvent *) dummy; 662 XButtonPressedEvent *btn = (XButtonPressedEvent *) dummy;
665 663
666 btn->type = ButtonPress; 664 btn->type = ButtonPress;
775 int menu_id; 773 int menu_id;
776 struct frame *f = selected_frame (); 774 struct frame *f = selected_frame ();
777 widget_value *data; 775 widget_value *data;
778 Widget parent; 776 Widget parent;
779 Widget menu; 777 Widget menu;
780 struct Lisp_Event *eev = NULL; 778 Lisp_Event *eev = NULL;
781 XEvent xev; 779 XEvent xev;
782 Lisp_Object frame; 780 Lisp_Object frame;
783 781
784 XSETFRAME (frame, f); 782 XSETFRAME (frame, f);
785 CHECK_X_FRAME (frame); 783 CHECK_X_FRAME (frame);