stats: fix display->locking race
This commit is contained in:
parent
aa6673fcfb
commit
44b80d48af
1 changed files with 1 additions and 1 deletions
|
@ -1355,11 +1355,11 @@ main(int argc, char *argv[])
|
|||
fprint(2, "stats: initdraw failed: %r\n");
|
||||
exits("initdraw");
|
||||
}
|
||||
display->locking = 1; /* tell library we're using the display lock */
|
||||
colinit();
|
||||
einit(Emouse|Ekeyboard);
|
||||
startproc(inputproc, Inputproc);
|
||||
pids[Mainproc] = getpid();
|
||||
display->locking = 1; /* tell library we're using the display lock */
|
||||
|
||||
resize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue