Hello,
I mixed up event masks and types in my last mail.
So here is the corrected version of the fix:
2000-08-26 Georg Fleischmann
* gui/Source/NSApplication.m
[NSApplication run]:
no menu update for NSPeriodic and NSMouseMoved events (too expensive)
*** gui/Source/NSApplication.m Sun Aug 27 13:40:07 2000
--- gui/Source/NSApplication.m.old Sat Aug 26 17:57:50 2000
***************
*** 883,899 ****
inMode: NSDefaultRunLoopMode
dequeue: YES];
if (e)
! { NSEventType type = [e type];
! [self sendEvent: e];
!
! // 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)
--- 883,893 ----
inMode: NSDefaultRunLoopMode
dequeue: YES];
if (e)
! [self sendEvent: e];
! // update (en/disable) the services menu's items
! [listener updateServicesMenu];
! [main_menu update];
// send an update message to all visible windows
if (windows_need_update)
---
* Georg Fleischmann
* vhf interservice GmbH
* research and development on self-similarity and geometry of fractals
* [EMAIL PROTECTED]