diff options
author | das <das> | 2009-06-29 14:35:01 (GMT) |
---|---|---|
committer | das <das> | 2009-06-29 14:35:01 (GMT) |
commit | 8f9b8fd63b4da5f6f27b46c438c89f2baa15f0e8 (patch) | |
tree | 81b5743d2ff5d45f2ee4992153e4f34949ea8f8a /carbon/tkMacOSXMouseEvent.c | |
parent | e4a87c21cb59539eeddcc65d359e9b06d597fed3 (diff) | |
download | tk-8f9b8fd63b4da5f6f27b46c438c89f2baa15f0e8.zip tk-8f9b8fd63b4da5f6f27b46c438c89f2baa15f0e8.tar.gz tk-8f9b8fd63b4da5f6f27b46c438c89f2baa15f0e8.tar.bz2 |
Merge of TkAqua Cocoa portmacosx_cocoa_merge
Diffstat (limited to 'carbon/tkMacOSXMouseEvent.c')
-rw-r--r-- | carbon/tkMacOSXMouseEvent.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/carbon/tkMacOSXMouseEvent.c b/carbon/tkMacOSXMouseEvent.c index 4ef0c82..b9e54f5 100644 --- a/carbon/tkMacOSXMouseEvent.c +++ b/carbon/tkMacOSXMouseEvent.c @@ -48,7 +48,7 @@ * permission to use and distribute the software in accordance with the * terms specified in this license. * - * RCS: @(#) $Id: tkMacOSXMouseEvent.c,v 1.1 2009/06/26 01:42:47 das Exp $ + * RCS: @(#) $Id: tkMacOSXMouseEvent.c,v 1.2 2009/06/29 14:35:01 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -342,7 +342,7 @@ TkMacOSXProcessMouseEvent( } break; } - case inGrow: + case inGrow: { /* * Generally the content region is the domain of Tk sub-windows. * However, one exception is the grow region. A button down in this @@ -350,10 +350,12 @@ TkMacOSXProcessMouseEvent( * Tk may not get button down events in this area! */ - if (TkMacOSXGrowToplevel(medPtr->whichWin, where) == true) { + XPoint p = {where.h, where.v}; + if (TkMacOSXGrowToplevel(medPtr->whichWin, p) == true) { statusPtr->stopProcessing = 1; return true; } + } case inContent: return GenerateButtonEvent(medPtr); } |