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)
|
rpc_resizeimg(Client *c)
|
||||||
{
|
{
|
||||||
DrawView *view = (__bridge DrawView*)c->view;
|
DrawView *view = (__bridge DrawView*)c->view;
|
||||||
dispatch_sync(dispatch_get_main_queue(), ^(void){
|
dispatch_async(dispatch_get_main_queue(), ^(void){
|
||||||
[view resizeimg];
|
[view resizeimg];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue