changeset 71558:4252d6e24270

(read_filtered_event): Treat select-window just like switch-frame.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 02 Jul 2006 14:34:30 +0000
parents 695dbebf4c20
children e0adef75745f
files src/ChangeLog src/lread.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jul 02 14:32:52 2006 +0000
+++ b/src/ChangeLog	Sun Jul 02 14:34:30 2006 +0000
@@ -1,3 +1,8 @@
+2006-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* lread.c (read_filtered_event): Treat select-window just like
+	switch-frame.
+
 2006-07-02  Kim F. Storm  <storm@cua.dk>
 
 	* xdisp.c (display_tool_bar_line): Skip glyphs which are too big
--- a/src/lread.c	Sun Jul 02 14:32:52 2006 +0000
+++ b/src/lread.c	Sun Jul 02 14:34:30 2006 +0000
@@ -484,7 +484,7 @@
      switch-frame events will read it and process it.  */
   if (no_switch_frame
       && EVENT_HAS_PARAMETERS (val)
-      && EQ (EVENT_HEAD (val), Qswitch_frame))
+      && EQ (EVENT_HEAD_KIND (EVENT_HEAD (val)), Qswitch_frame))
     {
       delayed_switch_frame = val;
       goto retry;