simplify expose event changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23600 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-09-24 05:37:05 +00:00
parent c0f89a63f2
commit 98c7ec2bc2
4 changed files with 7 additions and 8 deletions

View file

@ -724,12 +724,6 @@ GSCurrentServer(void)
[self subclassResponsibility: _cmd];
}
/** Repaint an exposed region of a buffered window */
- (void) exposewindow: (NSRect)frame : (int) win
{
[self subclassResponsibility: _cmd];
}
/** Sets the input state for the window given by the
GSWindowInputState constant. Instructs the window manager that the
specified window is 'key', 'main', or just a normal window. */

View file

@ -3375,7 +3375,7 @@ resetCursorRectsForView(NSView *theView)
* backend to have a copy of the region contents and
* be able to draw it.
*/
[GSServerForWindow(self) exposewindow: region
[GSServerForWindow(self) flushwindowrect: region
: _windowNum];
break;