]> git.eshelyaron.com Git - emacs.git/commitdiff
(enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 10:26:24 +0000 (10:26 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 10:26:24 +0000 (10:26 +0000)
src/termhooks.h

index 83721f659122aabdb33661316d4bbe5c14f114b3..3e39e64417375e8be6857c51f3283a59e16f13be 100644 (file)
@@ -252,10 +252,11 @@ enum event_kind
                                   the wheel event occurred in.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the event.  */
-#ifdef WINDOWSNT
-  LANGUAGE_CHANGE_EVENT,       /* A LANGUAGE_CHANGE_EVENT is generated
-                                  on WINDOWSNT when the keyboard layout
-                                  or input language is changed by the
+#if defined (WINDOWSNT) || defined (MAC_OS)
+  LANGUAGE_CHANGE_EVENT,       /* A LANGUAGE_CHANGE_EVENT is
+                                  generated on WINDOWSNT or Mac OS
+                                  when the keyboard layout or input
+                                  language is changed by the
                                   user.  */
 #endif
   SCROLL_BAR_CLICK_EVENT,      /* .code gives the number of the mouse button