ui/cocoa.m: Send ctrl-alt key combos to guest if QEMU isn't using them
commitef2088f9af16d3a19f5f094da160dd8ba52231a9
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Nov 2017 10:14:14 +0000 (7 10:14 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Nov 2017 10:14:14 +0000 (7 10:14 +0000)
tree5f65842763a83c81c4a9c07e7a27d033543ea30e
parent5929e36cac16a366d5ffeb4b09287e864a10ea8b
ui/cocoa.m: Send ctrl-alt key combos to guest if QEMU isn't using them

Send those ctrl-alt key combos that QEMU doesn't treat specially to
the guest rather than ignoring them.

All the case where we do special handling of ctrl-alt-X exit the
event handling using a "return" statement, so we can simply allow
the rest to fall through into the normal key handling by deleting
the now-spurious "else".

We take the opportunity to clean up some oddly-formatted and
now rather uninformative comments by removing them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m