Minor tidyup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7449 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-09-08 10:39:11 +00:00
parent 033960073c
commit 04cd8a4625

View file

@ -882,22 +882,25 @@ static NSCell* tileCell = nil;
untilDate: [NSDate distantFuture]
inMode: NSDefaultRunLoopMode
dequeue: YES];
if (e)
{ NSEventType type = [e type];
if (e != nil)
{
NSEventType type = [e type];
[self sendEvent: e];
[self sendEvent: e];
// update (en/disable) the services menu's items
if (type != NSPeriodic && type != NSMouseMoved)
{
[listener updateServicesMenu];
[main_menu update];
}
}
// update (en/disable) the services menu's items
if (type != NSPeriodic && type != NSMouseMoved)
{
[listener updateServicesMenu];
[main_menu update];
}
}
// send an update message to all visible windows
if (windows_need_update)
[self updateWindows];
{
[self updateWindows];
}
RELEASE(pool);
}