
21 Sep
2008
21 Sep
'08
3:50 p.m.
On 2008.09.21 01:35:08 -0500, Spencer Janssen
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