toytoolkit: Allow operation without a keymap
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 24 Jun 2013 15:52:43 +0000 (16:52 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 28 Jun 2013 23:54:53 +0000 (19:54 -0400)
commite61561fd9c75588735cd5b1784bbc0e0479d5105
tree87cc97b649a244d529ec69e1e1b480252998bf19
parent14494625b524f504018b50f97e8f4af79b4449a4
toytoolkit: Allow operation without a keymap

In preparation for upcoming changes, we want to make sure that apps
written with the toy toolkit continue to operate properly if no XKB
keymap is received.  If there's no XKB keymap, then we shouldn't
try to figure out keyboard modifier states (since we probably don't
even have equivalents of PC-style modifiers).

Reviewed-by: Singh, Satyeshwar <satyeshwar.singh@intel.com>
Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com>
clients/window.c