mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
fix issue with nsmenu items (#315)
This commit is contained in:
parent
bc53ea0ecf
commit
82717eefec
1 changed files with 5 additions and 0 deletions
|
@ -1832,6 +1832,11 @@ static float menuBarHeight = 0.0;
|
|||
inMode: NSEventTrackingRunLoopMode
|
||||
dequeue: YES];
|
||||
type = [event type];
|
||||
if (type == NSLeftMouseUp || type == NSRightMouseUp || type == NSOtherMouseUp)
|
||||
{
|
||||
shouldFinish = YES;
|
||||
break; // Exit the loop to proceed to StopPeriodicEvents
|
||||
}
|
||||
if (type == NSAppKitDefined)
|
||||
{
|
||||
[[event window] sendEvent: event];
|
||||
|
|
Loading…
Reference in a new issue