RE: [AD] new window hooks patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> It is not safe to exit the program inside the hook function: I've tried it
> under BeOS, and I had strange behaviours... So I've written this even in
the
> docs (see the patch), to warn user it's safer to set a flag inside the
> function and then check it later.
that was just sample stupid code to explain my point. as for the timer
routines, better is to set a flag, which is then checked by the main code.
> Now, what to do? Should we go with the ESC keypress simulation to keep
> compatibility with the past, or go without it for a cleaner, more elegant
> code?
> It seems Shawn preferred the first one, but it was a lot of time ago, so
> maybe now it's time to change it.
well, since i'm no part in the windows code, i'll let you chose which one,
but i just thought i'd express my opinion on this one, since i find it so
odd :)
--
Lyrian