Re: cwm: avoid displaying empty menu

2016-02-22 Thread Martin Brandenburg
On Mon, 22 Feb 2016, Martin Brandenburg wrote: > Is there another sort of menu I'm not thinking of? I'll > admit to not using all of cwm's features. Ooh! Right after sending this I accidentally hit CM-n, and it crashed since menu_filter wasn't supposed to return NULL. Well what was in there befo

Re: cwm: avoid displaying empty menu

2016-02-22 Thread Martin Brandenburg
On Sat, 20 Feb 2016, Okan Demirmen wrote: > On Sat 2016.02.20 at 12:29 -0500, Martin Brandenburg wrote: > > This avoids an empty square in the upper left corner if > > there is nothing to display in some menu the user > > requests. > > Sorry, but I think that is a big hammer; in fact there is evi

Re: cwm: avoid displaying empty menu

2016-02-20 Thread Okan Demirmen
On Sat 2016.02.20 at 12:29 -0500, Martin Brandenburg wrote: > This avoids an empty square in the upper left corner if > there is nothing to display in some menu the user > requests. Sorry, but I think that is a big hammer; in fact there is evidence of why these checks are no longer there in the ca

cwm: avoid displaying empty menu

2016-02-20 Thread Martin Brandenburg
This avoids an empty square in the upper left corner if there is nothing to display in some menu the user requests. -- Martin Index: menu.c === RCS file: /cvs/xenocara/app/cwm/menu.c,v retrieving revision 1.89 diff -u -p -r1.89 menu.