Improve menu behaviour when clicking on grandparents.
authorMikael Magnusson <mikachu@comhem.se>
Mon, 10 Dec 2007 03:28:55 +0000 (04:28 +0100)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 16 Jan 2008 06:26:35 +0000 (07:26 +0100)
commit10603ce092ed38636d2c471d74370a0c1ca24238
tree35c003b272426dd423c4660a22426d6a0ba7d609
parent3340963b58d65fc21c87b52832f9e853bfdfb8f0
Improve menu behaviour when clicking on grandparents.

Some time ago the menus were changed to not trigger on mouseover on a grandparent or higher
so that you wouldn't lose a carefully navigated menu structure. Clicking on an item opens
it though. It used to be on ButtonRelease but now it is on ButtonPress. Additionally, a Press
now causes grandchildren to be closed when clicking on already selected parts of the hierarchy.
openbox/event.c