commit f66f0a587b48337388296c8f1820f9b3dbfd0085 from: Martin Palma via: GitHub date: Mon Feb 03 19:59:58 2020 UTC devdraw: fix `cmd-r` to toggle retina vs. non-retina mode on macOS (#361) and not unexpectedly quitting an application. Fixes #360 commit - 4197af4122bc06cf4062ca2d1d5bc8f973e37cf1 commit + f66f0a587b48337388296c8f1820f9b3dbfd0085 blob - dedbfb84b156f292303888127c43b74b46a6c651 blob + c6e58341d95a20d3f2578326219cf99a46b7cb3f --- src/cmd/devdraw/mac-screen.m +++ src/cmd/devdraw/mac-screen.m @@ -510,7 +510,7 @@ void rpc_resizeimg(Client *c) { DrawView *view = (__bridge DrawView*)c->view; - dispatch_sync(dispatch_get_main_queue(), ^(void){ + dispatch_async(dispatch_get_main_queue(), ^(void){ [view resizeimg]; }); }