Re: [AD] 3.9.40 report 3 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Eric Botcazou <ebotcazou@xxxxxxxxxx>: >Another glitch: in the grabber, enter the help system and play with the exit >button. Strange things occur, for example: click on the exit button, move >the cursor to the right without leaving the menu bar and you can now access >the previous menu ! It's only when you click outside the menu bar that the >screen contents are updated. It doesn't happen with 3.9.39 WIP. Check out this message and patch from David: ------------------------------------------------------------------------ I detect an error in the gui-menu system: - in a small screen size (like 320x200); - if a sub-menu overlapped its parents (and the parent not is the menu- bar); - when you move the mouse, and select some item which is overlapping an item of the parent menu, the item of the parent menu is selected! Well, this little patch fix it. I test it on ASE 0.0.4 (CVS). -- David A. Capello dacap@xxxxxxxxxx http://www.davidcapello.com.ar --- gui.c.old Wed Nov 7 09:03:46 2001 +++ gui.c Thu Nov 15 12:57:31 2001 @@ -1652,11 +1652,13 @@ if (auto_open && (gui_menu_opening_delay >= 0)) { /* menu auto- opening on? */ - if (mouse_in_parent_menu(m.parent)) { - /* automatically goes back to parent */ - ret = -2; - break; - } + if (!mouse_in_single_menu(&m)) { + if (mouse_in_parent_menu(m.parent)) { + /* automatically goes back to parent */ + ret = -2; + break; + } + } if ((mouse_sel >= 0) && (m.menu[mouse_sel].child)) { if (m.bar) { ------------------------------------------------------------------------ This is probably the change that causes the new, weird behaviour in the grabber. But I don't understand the menu code, so I can't fix it for you :-( Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |