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");
|
fprint(2, "stats: initdraw failed: %r\n");
|
||||||
exits("initdraw");
|
exits("initdraw");
|
||||||
}
|
}
|
||||||
|
display->locking = 1; /* tell library we're using the display lock */
|
||||||
colinit();
|
colinit();
|
||||||
einit(Emouse|Ekeyboard);
|
einit(Emouse|Ekeyboard);
|
||||||
startproc(inputproc, Inputproc);
|
startproc(inputproc, Inputproc);
|
||||||
pids[Mainproc] = getpid();
|
pids[Mainproc] = getpid();
|
||||||
display->locking = 1; /* tell library we're using the display lock */
|
|
||||||
|
|
||||||
resize();
|
resize();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue