Re: [PATCH] Not getting a keymap should not be fatal



On Wed, Sep 15, 2010 at 2:58 AM, Lubomir Rintel <lkundrak v3 sk> wrote:
> All GTK+ applications abort upon first key press in case XKB extension
> is not present.
>
> This is probably less optimal than it could be, because in case of lack
> of XKB extension, this causes a XkbGetMap() call on each key press as
> well as ugly warning on error output. Maybe a better idea would be to
> keep track of whether XkbGetMap() failed separately from xkb_desc.

Looks like the problem fixed by this commit:

author	Matthias Clasen <mclasen redhat com>	2010-09-07 04:10:26 (GMT)
committer	Matthias Clasen <mclasen redhat com>	2010-09-07 04:10:26 (GMT)
commit	d5c2cb7bcbdd2c5f9c1523043f2cd252421325c6 (patch) (side-by-side diff)
tree	4bea0b8dd6337723d945ce6e446594233dccedeb
parent	87b192773cd4617a1af51a840ca99bd2f1961319 (diff)
Avoid segfault on xkbless systems
This was reported in bug 628932 to cause problems on VNC.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]