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

@ -1,3 +1,9 @@
2006-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h:
* Source/GSDisplayServer.m: Revert unnecessary addition to api
* Source/NSWindow.m: Use ([flushwindowrect::]) for expose events.
2006-09-23 Matt Rice <ratmice@yahoo.com>
* Source/NSTableView.m (_isCellEditableColumn:row:): Allow

View file

@ -143,7 +143,6 @@ APPKIT_EXPORT NSString * GSScreenNumber;
- (void) styleoffsets: (float*) l : (float*) r : (float*) t : (float*) b
: (unsigned int) style;
- (void) docedited: (int) edited : (int) win;
- (void) exposewindow: (NSRect)frame : (int) win;
- (void) setinputstate: (int)state : (int)win;
- (void) setinputfocus: (int) win;
- (void) setalpha: (float)alpha: (int) win;

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;