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>
Sat, 2 Feb 2008 20:50:23 +0000 (21:50 +0100)
commit6cf8c5045b0508d3b0c78f99daee3bba450dafe9
tree168f0e2f67d688a7892e4444c9f4bb76c0490f90
parentb55cb7cc3c802b24832b54ad02a1658e12183dfe
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