mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix annoying closing of menus when mouse button is released, when using
other than default NSMenuInterfaceStyle
This commit is contained in:
@@ -4,7 +4,7 @@ GH_TAGNAME= 0.32.0
|
||||
GH_ACCOUNT= gnustep
|
||||
GH_PROJECT= libs-gui
|
||||
DISTNAME= gnustep-gui-${GH_TAGNAME}
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
ihttps://github.com/gnustep/libs-gui/pull/399
|
||||
Index: Source/NSMenuView.m
|
||||
--- Source/NSMenuView.m.orig
|
||||
+++ Source/NSMenuView.m
|
||||
@@ -1834,7 +1834,6 @@ static float menuBarHeight = 0.0;
|
||||
type = [event type];
|
||||
if (type == NSLeftMouseUp || type == NSRightMouseUp || type == NSOtherMouseUp)
|
||||
{
|
||||
- shouldFinish = YES;
|
||||
break; // Exit the loop to proceed to StopPeriodicEvents
|
||||
}
|
||||
if (type == NSAppKitDefined)
|
||||
Reference in New Issue
Block a user