mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
acme: add threadmaybackground
Without threadmaybackground acme will remain a white window when started from a hotkey daemon such as skhd like this: /usr/local/plan9/bin/9.rc acme -c3
This commit is contained in:
parent
44ee4bc4e2
commit
39f60c1f55
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ derror(Display *d, char *errorstr)
|
|||
error(errorstr);
|
||||
}
|
||||
|
||||
int
|
||||
threadmaybackground(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
threadmain(int argc, char *argv[])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue