xkb: add KeymapOrDefault
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Mar 2014 07:20:17 +0000 (17:20 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Mar 2014 05:10:47 +0000 (15:10 +1000)
commit8b6c79e19cfabd9f343884ddd91a738720c94583
tree9dd5c409c8bd418e2b906653a666e650549db965
parentcb9a1d01468732196fd25c6422991e784639ffce
xkb: add KeymapOrDefault

Helper function to return a default map if the keymap compilation failed.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
xkb/ddxLoad.c