forgot to turn the window cursor off on startup.
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Sat, 30 Jul 1983 09:21:09 +0000 (01:21 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Sat, 30 Jul 1983 09:21:09 +0000 (01:21 -0800)
SCCS-vsn: usr.bin/window/main.c 1.10

usr/src/usr.bin/window/main.c

index 0f3c6ec..5bb13ad 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)main.c      1.9 83/07/29";
+static char *sccsid = "@(#)main.c      1.10 83/07/29";
 #endif
 
 #include "defs.h"
 #endif
 
 #include "defs.h"
@@ -77,8 +77,10 @@ char **argv;
        if (!fast) {
                if (doconfig() < 0)
                        dodefault();
        if (!fast) {
                if (doconfig() < 0)
                        dodefault();
-               if (selwin != 0)
+               if (selwin != 0) {
                        wwsetcurwin(selwin);
                        wwsetcurwin(selwin);
+                       Woncursor(selwin->ww_win, 0);
+               }
        }
        while (!quit) {
                if (curwin == cmdwin) {
        }
        while (!quit) {
                if (curwin == cmdwin) {