Hello Luis, On Tue, Mar 6, 2012 at 12:33 AM, Luis Anaya <papoan...@hotmail.com> wrote: > On stack trace I discovered that it was failing on XCreateIC, it as because > the previous call, XOpenIM was returning null back. To make a long story > short, it seems to be an issue with the setlocale call. The following fix > (attached) is based on a similar fix for fltk which I found while > researching on the problem.
Perhaps coincidentally, this call to setlocale() caused st to experience a slow startup on my low-end machine (EeePC 701, 600MHz Celeron). Applying your patch fixes the issue and startup is now lightning quick. Thank you very much! I hope the setlocale() modification is accepted into st. Ryan