# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1113301584 0 # Node ID 1ccfb57e0ed09b4dbad7c387bba7dfa6dbd86b2d # Parent 441abfeebcb218cbdfcfd4ee42637677f623f3dd (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. diff -r 441abfeebcb2 -r 1ccfb57e0ed0 src/termhooks.h --- a/src/termhooks.h Tue Apr 12 10:26:08 2005 +0000 +++ b/src/termhooks.h Tue Apr 12 10:26:24 2005 +0000 @@ -252,10 +252,11 @@ 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