mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
devdraw: fix cmd-r
to toggle retina vs. non-retina mode on macOS (#361)
and not unexpectedly quitting an application. Fixes #360
This commit is contained in:
parent
4197af4122
commit
f66f0a587b
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue