[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES doesn't deliver button events with evnt_multi()


On tiistai 11 syyskuu 2012, Eero Tamminen wrote:
> On tiistai 11 syyskuu 2012, Helmut Karlowski wrote:
> > Eero Tamminen wrote:
> > > And it has exactly the same problem as my code, if you move
> > > the (invisible) mouse to the top of the screen and click
> > > there, the menubar items

After some additional experimentation, I found out that
if application doesn't have a menubar while it's running,
but creates it when it exits, then these problems can
be avoided:

* clicks on top of screen opening menu
  (when menu has already been created)

* desktop menu not being redrawn after app exit
  (where app had no menu)

Applications (like zView) that have a menu bar with some real
functionality might try removing the menu while in fullscreen
and enabling it again when exiting from fullscreen, to avoid
clicks on top of screen showing their menus in "fullscreen".

Programs that just want to output fullscreen, apparently can
/ need to create the menubar only when they exit, to get
desktop to redraw its own menu.  I assume a dummy menubar to
take less memory than storing the desktop menu area on app
startup and restoring it at exit.

Anyway, both are really ugly kludges.  AES "should" handle
trivial stuff like that fine without need for such kludges.
It could do that automatically if any form_dial or window
rectangle given by application overlaps with the menubar
area (when window is closed or form_dial ended).

	- Eero