diff options
author | marc_culler <marc.culler@gmail.com> | 2021-12-20 16:09:22 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2021-12-20 16:09:22 (GMT) |
commit | 32ad249136c01232bce166b33015f783f613bca2 (patch) | |
tree | 95b5e1f270973d636dd92486fdf464a98055c88e /macosx/tkMacOSXMouseEvent.c | |
parent | ca555898f2505f32064a101ce8e2dcf4a06198e1 (diff) | |
download | tk-32ad249136c01232bce166b33015f783f613bca2.zip tk-32ad249136c01232bce166b33015f783f613bca2.tar.gz tk-32ad249136c01232bce166b33015f783f613bca2.tar.bz2 |
Remove the isDead property from TKWindow since it is no longer needed.
Diffstat (limited to 'macosx/tkMacOSXMouseEvent.c')
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 6457890..4ed954d 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -122,14 +122,6 @@ enum { if (!isTestingEvent && !isMotionEvent) { return theEvent; } - } else if ([(TKWindow *) eventWindow isDead]) { - if ([eventWindow isKeyWindow]) { - [eventWindow resignKey]; - } - [NSApp setTkDragTarget: nil]; - target = TkMacOSXGetTkWindow([NSApp keyWindow]); - [NSApp setTkEventTarget: target]; - [NSApp setTkDragTarget: nil]; } else if (!NSPointInRect(viewLocation, [contentView bounds])) { isOutside = YES; } |