6fc05d8b37
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> |
||
---|---|---|
.. | ||
android | ||
ios | ||
mac | ||
unix | ||
win | ||
Application.h | ||
CommandSet.cpp | ||
CommandSet.h | ||
DawnWindowContext.cpp | ||
DawnWindowContext.h | ||
DisplayParams.h | ||
GLWindowContext.cpp | ||
GLWindowContext.h | ||
MetalWindowContext.h | ||
MetalWindowContext.mm | ||
RasterWindowContext.h | ||
VulkanWindowContext.cpp | ||
VulkanWindowContext.h | ||
Window.cpp | ||
Window.h | ||
WindowContext.h |