Thanks,
That fixed it.
On Sun, Apr 17, 2011 at 6:08 PM, pod <pod_AT_nervous-energy.org.uk> wrote:
> >>>>> "JM" == Jay Mundrawala <jdmundrawala_AT_gmail.com> writes:
>
> JM> Ive been trying to use the dev version of wmii and it seems to
> JM> be ignoring my key presses. I checked out the output of /event
> JM> and theres nothing there. wmii 3.9.2 works fine. Any ideas?
>
> If by dev version you mean 2785:327e87c7bb2b (current tip from
> <http://hg.suckless.org/wmii>) then I believe there is a bug in wmiir
> when it is run in a non-UTF-8 locale. If your event loop is dispatching
> on keypresses as reported from "wmiir read /event" and that wmiir has
> been invoked in a non-UTF-8 locale then this bug may be the issue.
>
> I see the following:
>
> shell$ hg id
> 327e87c7bb2b tip
> shell$ LANG="en_GB.UTF-8" ./wmiir.out read /event
> ClientFocus 0x800011
> AreaFocus 1
> ColumnFocus 1
> ClientFocus 0xa0000d
> [...]
> shell$
>
> shell$ LANG="C" ./wmiir.out read /event
> [no output when moving mouse between windows]
> shell$
>
> I'm afraid I've not had time to fully debug and suggest a patch. I
> think the problem may be in unflush() which essentially shortcuts to a
> straight write(2) in a UTF-8 locale but is rather more complicated
> otherwise (it is attempting to transcode from UTF-8 to the local
> encoding).
>
>
Received on Mon Apr 18 2011 - 15:01:56 CEST
This archive was generated by hypermail 2.2.0 : Mon Apr 18 2011 - 15:12:03 CEST