aboutsummaryrefslogtreecommitdiff
path: root/ui/egl-headless.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-02-25 10:24:31 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-03-04 16:47:31 +0000
commit60105d7a1cbe5f347f66a422700ae073edad34f8 (patch)
tree431592f2d2180cecefa4f6f587b3d559ed716dd0 /ui/egl-headless.c
parent8b00e4e7307c1daf611486de29c4b0011831d814 (diff)
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 'ui/egl-headless.c')
0 files changed, 0 insertions, 0 deletions