summaryrefslogtreecommitdiff
path: root/xkb/XKBAlloc.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-07-13 12:08:04 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-15 15:44:19 +1000
commit82f5521a6d91ebcd2a4400f6c221ad625edc99a1 (patch)
treee88df47cd8b6f974e2819cdd53a14eacf7c2c3be /xkb/XKBAlloc.c
parentc177a5bcaa170d24a784540460906cc04ac5c752 (diff)
XKB: Work around broken interps from old xkbcomp
Bugfix for broken xkbcomp: if we encounter an XFree86Private action with Any+AnyOfOrNone(All), then we skip the interp as broken. Versions of xkbcomp below 1.2.2 had a bug where they would interpret a symbol that couldn't be found in an interpret as Any. So, an XF86LogWindowTree+AnyOfOrNone(All) interp that triggered the PrWins action would make every key without an action trigger PrWins if libX11 didn't yet know about the XF86LogWindowTree keysym. None too useful. We only do this for XFree86 actions, as the current XKB dataset relies on Any+AnyOfOrNone(All) -> SetMods for Ctrl in particular. See xkbcomp commits 2a473b906943ffd807ad81960c47530ee7ae9a60 and 3caab5aa37decb7b5dc1642a0452efc3e1f5100e for more details. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb/XKBAlloc.c')
0 files changed, 0 insertions, 0 deletions