Fix menu handling.
commit781b810c133b6b10241ba543da865f47e159018e
authorMooffie <mooffie@gmail.com>
Tue, 23 Feb 2016 06:49:58 +0000 (23 09:49 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 1 Apr 2016 12:29:55 +0000 (1 15:29 +0300)
tree427bdd04384f6b5f58eebc2ebd25c9b189ececc2
parentc9a437a9c24936137b85c967ca5d653dbc23f06e
Fix menu handling.

We now send mouse events to widgets in reverse Z-order, as done in common GUIs.
This makes it easy to implement "invisible" menubars correctly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/dialog.c
lib/widget/dialog.h
lib/widget/menu.c
src/filemanager/midnight.c