summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/ip/gping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/gping.c b/sys/src/cmd/ip/gping.c
index ebc8d57ac..9b5ce2f59 100644
--- a/sys/src/cmd/ip/gping.c
+++ b/sys/src/cmd/ip/gping.c
@@ -1018,10 +1018,10 @@ main(int argc, char *argv[])
fprint(2, "%s: initdraw failed: %r\n", argv0);
exits("initdraw");
}
+ display->locking = 1; /* tell library we're using the display lock */
colinit();
einit(Emouse);
startproc(mouseproc, 0);
- display->locking = 1; /* tell library we're using the display lock */
resize();