diff options
author | wolfsuit <wolfsuit> | 2005-03-12 00:28:09 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2005-03-12 00:28:09 (GMT) |
commit | 6bdfe421432c25e3f3791dd7e50b1bfd71417da8 (patch) | |
tree | bccaa24f463d9c12da05e83b0f75c2974f629000 /macosx/tkMacOSXWindowEvent.c | |
parent | ccd080b1015a8d3a491f01057242a650fd14c971 (diff) | |
download | tk-6bdfe421432c25e3f3791dd7e50b1bfd71417da8.zip tk-6bdfe421432c25e3f3791dd7e50b1bfd71417da8.tar.gz tk-6bdfe421432c25e3f3791dd7e50b1bfd71417da8.tar.bz2 |
Fix for 1124237.
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index f718d08..dbb94cc 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -75,8 +75,6 @@ static RgnHandle visRgn; static int GenerateUpdateEvent( Window window); static void GenerateUpdates( RgnHandle updateRgn, TkWindow *winPtr); static int GenerateActivateEvents( Window window, int activeFlag); -static int GenerateFocusEvent( Window window, int activeFlag); - /* @@ -172,11 +170,11 @@ TkMacOSXProcessWindowEvent( switch (eventPtr->eKind) { case kEventWindowActivated: eventFound |= GenerateActivateEvents(window, 1); - eventFound |= GenerateFocusEvent(window, 1); + eventFound |= TkMacOSXGenerateFocusEvent(window, 1); break; case kEventWindowDeactivated: eventFound |= GenerateActivateEvents(window, 0); - eventFound |= GenerateFocusEvent(window, 0); + eventFound |= TkMacOSXGenerateFocusEvent(window, 0); break; case kEventWindowUpdate: if (GenerateUpdateEvent(window)) { @@ -382,7 +380,7 @@ GenerateActivateEvents( /* *---------------------------------------------------------------------- * - * GenerateFocusEvent -- + * TkMacOSXGenerateFocusEvent -- * * Given a Macintosh window activate event this function generates all the * X Focus events needed by Tk. @@ -397,7 +395,7 @@ GenerateActivateEvents( */ int -GenerateFocusEvent( +TkMacOSXGenerateFocusEvent( Window window, /* Root X window for event. */ int activeFlag ) { |