plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit f66f0a587b48337388296c8f1820f9b3dbfd0085
parent 4197af4122bc06cf4062ca2d1d5bc8f973e37cf1
Author: Martin Palma <m@palma.bz>
Date:   Mon,  3 Feb 2020 20:59:58 +0100

devdraw: fix `cmd-r` to toggle retina vs. non-retina mode on macOS (#361)

and not unexpectedly quitting an application.

Fixes #360
Diffstat:
Msrc/cmd/devdraw/mac-screen.m | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/devdraw/mac-screen.m b/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]; }); }