mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
Revert last change and implement a better solution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37157 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ecd8160ff7
commit
7baaaf9425
4 changed files with 14 additions and 27 deletions
|
@ -1512,8 +1512,8 @@ static NSMapTable *viewInfo = 0;
|
|||
over the menu, the menu is closed when the user releases the mouse. On
|
||||
the other hand, when the user clicks on the button and then moves the
|
||||
mouse the menu is closed upon the next mouse click. */
|
||||
([[self menu] _ownedByPopUp] &&
|
||||
style == NSMacintoshInterfaceStyle))
|
||||
([[self menu] _ownedByPopUp] && (style == NSMacintoshInterfaceStyle ||
|
||||
[[GSTheme theme] doesProcessEventsForPopUpMenu])))
|
||||
{
|
||||
/*
|
||||
* Ignore the first mouse up if nothing interesting has happened.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue