From c600d60eb695ee9ab1cb49d58c0eae64777fe1ae Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sat, 30 Sep 2000 23:14:56 +0000 Subject: [PATCH] In [display] check if the _visibleRect is still valid. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7679 72102866-910b-0410-8b05-ffd578937521 --- Source/NSView.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/NSView.m b/Source/NSView.m index 71111afc5..48957e988 100644 --- a/Source/NSView.m +++ b/Source/NSView.m @@ -1377,6 +1377,10 @@ GSSetDragTypes(NSView* obj, NSArray *types) { if (_window != nil) { + if (_coordinates_valid == NO) + { + [self _rebuildCoordinates]; + } [self displayRect: _visibleRect]; } }