e6dfe8e6f8
The initially requested size may be too big so the actual window size may end up smaller than requested. When resetting the window to the initial size, use the actual initial size. Otherwise those with small screens will end up with the origin in the wrong place until resizing the window. Change-Id: I962cb8db52ece09f6bdc27b7b5520ce8a524ffe6 Reviewed-on: https://skia-review.googlesource.com/c/173760 Commit-Queue: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Klein <mtklein@google.com> |
||
---|---|---|
.. | ||
GLWindowContext_mac.cpp | ||
main_mac.cpp | ||
RasterWindowContext_mac.cpp | ||
Window_mac.cpp | ||
Window_mac.h | ||
WindowContextFactory_mac.h |