(struct x_display): New fields saved_button_event, id.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 Jul 1995 20:21:15 +0000 (20:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 Jul 1995 20:21:15 +0000 (20:21 +0000)
src/xterm.h

index 85fed55..ea7ecac 100644 (file)
@@ -466,6 +466,15 @@ struct x_display
   /* This is the Emacs structure for the X display this frame is on.  */
   struct x_display_info *display_info;
 
+  /* This is a button event that wants to activate the menubar.
+     We save it here until the  command loop gets to think about it.  */
+  XButtonEvent *saved_button_event;
+
+  /* This is the widget id used for this frame's menubar in lwlib.  */
+#ifdef USE_X_TOOLKIT
+  int id;
+#endif
+
   /* Nonzero means our parent is another application's window
      and was explicitly specified.  */
   char explicit_parent;