Re: [dev] [hack] Having dmenu provide hints about current selected entry

From: Christophe-Marie Duquesne <chm.duquesne_AT_gmail.com>
Date: Mon, 29 Nov 2010 23:58:02 +0100

On Mon, Nov 29, 2010 at 2:44 AM, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> Great, it's a lot cleaner this way. One problem with this approach,
> though, is that if data is written to stdin it isn't displayed until
> the next X event. This is likely fine for your use case, and
> dmenu_run, but perhaps not for other cases. To fix that we'd have to
> select between stdin and XConnectionNumber(dc->dpy).

Here is a patch that implements this idea (still available on my
bitbucket repo). It actually makes dmenu pretty slow to read stdin.
comments/fix are welcome.

Received on Mon Nov 29 2010 - 23:58:02 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 30 2010 - 00:00:09 CET