summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorPeter Maydell2019-02-25 11:24:31 +0100
committerPeter Maydell2019-03-04 17:47:31 +0100
commit60105d7a1cbe5f347f66a422700ae073edad34f8 (patch)
tree431592f2d2180cecefa4f6f587b3d559ed716dd0 /scripts/checkpatch.pl
parentui/cocoa: Move console/device menu creation code up in file (diff)
downloadqemu-60105d7a1cbe5f347f66a422700ae073edad34f8.tar.gz
qemu-60105d7a1cbe5f347f66a422700ae073edad34f8.tar.xz
qemu-60105d7a1cbe5f347f66a422700ae073edad34f8.zip
ui/cocoa: Don't call NSApp sendEvent directly from handleEvent
Currently the handleEvent method will directly call the NSApp sendEvent method for any events that we want to let OSX deal with. When we rearrange the event handling code, the way that we say "let OSX have this event" is going to change. Prepare for that by refactoring so that handleEvent returns a flag indicating whether it consumed the event. Suggested-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com> Tested-by: Roman Bolshakov <r.bolshakov@yadro.com> Message-id: 20190225102433.22401-6-peter.maydell@linaro.org Message-id: 20190214102816.3393-6-peter.maydell@linaro.org
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions