« Previous | Next » 

Revision 8895919a

ID8895919a044e9e8111faebabacaa2245d8ce4e51

Added by Peter Maydell over 10 years ago

ui/cocoa: Pass command key through to guest when VM has mousegrab

The guest might want to be able to use the command key for its won
purposes (as command if it is MacOS X, or for the Windows key if
it is a PC guest, for instance). In line with other UI frontends,
pass it through if the guest has mousegrab, and only use it for UI
menu accelerators if not grabbed.

Thanks to John Arbuckle for reporting this problem, helping
us work through what the best solution would be and providing
a patch which was the initial inspiration for this one.

Reported-by: John Arbuckle <>
Signed-off-by: Peter Maydell <>
Message-id:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences