* Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window

views as needing display, even when the invalidated rectangle
didn't change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28382 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-07-06 14:18:16 +00:00
parent 0e7730756b
commit d1d98575e5
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-07-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window
views as needing display, even when the invalidated rectangle
didn't change.
2009-07-05 Fred Kiefer <FredKiefer@gmx.de> 2009-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:, * Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,

View file

@ -2676,7 +2676,8 @@ in the main thread.
[firstOpaque setNeedsDisplayInRect: invalidRect]; [firstOpaque setNeedsDisplayInRect: invalidRect];
} }
} }
/*
/*
* Must make sure that superviews know that we need display. * Must make sure that superviews know that we need display.
* NB. we may have been marked as needing display and then moved to another * NB. we may have been marked as needing display and then moved to another
* parent, so we can't assume that our parent is marked simply because we are. * parent, so we can't assume that our parent is marked simply because we are.
@ -2686,6 +2687,8 @@ in the main thread.
currentView->_rFlags.needs_display = YES; currentView->_rFlags.needs_display = YES;
currentView = currentView->_super_view; currentView = currentView->_super_view;
} }
// Also mark the window, as this may not happen above
[_window setViewsNeedDisplay: YES];
} }
/** /**