[xmonad] Ratpoison key emulation

Gwern Branwen gwern0 at gmail.com
Sun Sep 21 11:50:58 EDT 2008


On 2008.09.21 01:35:08 -0500, Spencer Janssen <spencerjanssen at gmail.com> scribbled 0.6K characters:
> On Sat, Sep 20, 2008 at 11:37:56AM -0400, Gwern Branwen wrote:
> > Maybe. It's not really an issue for this code, is it? Since the type only takes Char, one cannot make it run stringToKeysym on a invalid string like "foo". And the functions lower down are in terms of Keysyms. (Although I wonder if perhaps that bit of functionality should be explored in the X11 haddocks. I didn't notice anything in particular.)
>
> stringToKeysym will have trouble with characters outside the ASCII range.  In
> any case, there's no sense in sending '0' KeySyms to windows.
>
> Cheers,
> Spencer Janssen

Hm. I'd better add a warning to that effect then.

--
gwern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/c95b8b47/attachment.bin


More information about the xmonad mailing list