skia2/tools/sk_app/mac
John Stiles 6fc05d8b37 Allow system key equivalents to work again.
The changes in http://review.skia.org/300182 caused cmd-Q to stop
working normally in Viewer, because the Mac window would report that it
had processed all key equivalents. This prevented the NSApp from
handling key equivalents in the menu bar. This CL now forwards on all
key equivalents to the system for processing (even as it passes them to
ImGui), allowing cmd-Q to work again.

This CL also simplifies the pattern for updating modifier keys slightly.

Change-Id: I2285839b41dd361e34694eccbc6d581662b24648
Bug: skia:10338
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300651
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2020-07-06 19:02:24 +00:00
..
DawnMTLWindowContext_mac.mm Remove the dependency on Dawn's SwapChainUtils. 2020-04-09 20:31:30 +00:00
GLWindowContext_mac.mm Fix OpenGL MSAA on Catalina. 2020-05-06 19:55:04 +00:00
main_mac.mm Fix Mac viewer on command line launch. 2019-06-21 15:45:22 +00:00
MetalWindowContext_mac.mm Fix colorspace in Viewer for Metal 2020-05-06 13:00:19 +00:00
RasterWindowContext_mac.mm Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
Window_mac.h Enable MSAA for Metal. 2019-07-11 20:57:24 +00:00
Window_mac.mm Allow system key equivalents to work again. 2020-07-06 19:02:24 +00:00
WindowContextFactory_mac.h Dawn: implement sk_app window contexts for all backends. 2019-08-02 19:51:02 +00:00