From 9c5501d9ee5d122b69777ef52927fd54dbfab43e Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 12 Apr 2005 10:26:24 +0000 Subject: [PATCH] (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. --- src/termhooks.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/termhooks.h b/src/termhooks.h index 83721f6591..3e39e64417 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -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 -- 2.20.1