summaryrefslogtreecommitdiffstats
path: root/linux-headers
diff options
context:
space:
mode:
authorPeter Maydell2015-11-26 16:19:28 +0100
committerPeter Maydell2015-12-01 22:22:41 +0100
commit8d3a5d9b0f76e3f965ce2b845f6e9027fd98fd30 (patch)
tree0d914973077d7b72ff2b00bea00bf3f496022ff2 /linux-headers
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20151201' into staging (diff)
downloadqemu-8d3a5d9b0f76e3f965ce2b845f6e9027fd98fd30.tar.gz
qemu-8d3a5d9b0f76e3f965ce2b845f6e9027fd98fd30.tar.xz
qemu-8d3a5d9b0f76e3f965ce2b845f6e9027fd98fd30.zip
ui/cocoa.m: Prevent activation clicks from going to guest
When QEMU is brought to the foreground, the click event that activates QEMU should not go to the guest. Accidents happen when they do go to the guest without giving the user a chance to handle them. In particular, if the guest input device is not an absolute-position one then the location of the guest cursor (and thus the click) will likely not be the location of the host cursor when it is clicked, and could be completely obscured below another window. Don't send mouse clicks to QEMU unless the window either has focus or has grabbed mouse events. Reported-by: John Arbuckle <programmingkidx@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: John Arbuckle <programmingkidx@gmail.com> Message-id: 1448551168-13196-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions