mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
033960073c
commit
04cd8a4625
1 changed files with 14 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue