diff options
Diffstat (limited to 'macosx/tkMacOSXMouseEvent.c')
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index dd50d0a..435caf9 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -103,8 +103,8 @@ enum { * ticket [d72abe6b54]. */ - if (eventType == NSEventTypeLeftMouseDown && - ([eventWindow styleMask] & NSWindowStyleMaskResizable) && + if (eventType == NSLeftMouseDown && + ([eventWindow styleMask] & NSResizableWindowMask) && [NSApp macMinorVersion] > 6) { NSRect frame = [eventWindow frame]; if (local.x < 3 || local.x > frame.size.width - 3 || local.y < 3) { |