I noticed this too, but thought I was nuts. I am fine either way, as I noticed that if one of the items wasn't selected, it would return a zero. So I just put a few extra lines of code in there that would make it be ignored. (case 0: return 0;) Anyway, I prefer the old behavior, as it is useful to be able to click and say "oops" I didn't want to do that. Brandon
--- Philippe Ney <[EMAIL PROTECTED]> wrote: > Hi Micah, > > Since the release 1.52 of widget/popup.c, the popup act in a strange way when used >as a menu. > I mean that you cannot get out of the menu without selecting one item. > A normal behavior (as previousely) would be to make the menu disapear when clicking >the > background (I guess). > > I track the problem and found that this is due to the following line (157-158): > > /* Since the backdrop should only be rendered once, self-destruct this build >handler */ > self->in->build = NULL; > > Which prevent the backdrop to be rebuild by the popup (right?) > Is this new behavior a wish or just the result of some memory(?) optimization? > Could we return to the previous one? > What is the opinion of the others PicoGUI users? > > Thanx, > -philippe > > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel ===== Time is merely the dimention that allows for movement. Movement is the logical result of time. The decision of where the movement will take for each of us is one that exists outside the presence of time, thus making it timeless. __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
