emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/gtkutil.c,v


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c,v
Date: Sat, 04 Aug 2007 09:48:28 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jan Djärv <jhd>        07/08/04 09:48:28

Index: gtkutil.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/gtkutil.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- gtkutil.c   31 Jul 2007 16:28:24 -0000      1.109
+++ gtkutil.c   4 Aug 2007 09:48:27 -0000       1.110
@@ -3372,6 +3372,14 @@
 
   key = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_KEY);
   XSETFRAME (frame, f);
+
+  /* We generate two events here.  The first one is to set the prefix
+     to `(tool_bar)', see keyboard.c.  */
+  event.kind = TOOL_BAR_EVENT;
+  event.frame_or_window = frame;
+  event.arg = frame;    
+  kbd_buffer_store_event (&event);      
+  
   event.kind = TOOL_BAR_EVENT;
   event.frame_or_window = frame;
   event.arg = key;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]