From 37f8ed2410ad5cbd46eda00a77f8bf4950bcf544 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 23 Sep 2012 22:01:56 -0400 Subject: acme: mouse movement for Del If the mouse was in the tag of the old window, it was most likely pointing at Del. If bringing up a new window from below and not moving the mouse somewhere else, adjust it so that it ends up pointing at Del in the replacement window's tag too. This makes it easy to Del a sequence of windows in a column, from top to bottom. http://www.youtube.com/watch?v=ET8w6RT6u5M R=r http://codereview.appspot.com/6558047 --- src/cmd/acme/dat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/acme/dat.h') diff --git a/src/cmd/acme/dat.h b/src/cmd/acme/dat.h index 0da2a128..0539d1ac 100644 --- a/src/cmd/acme/dat.h +++ b/src/cmd/acme/dat.h @@ -239,6 +239,7 @@ struct Window uchar filemenu; uchar dirty; uchar autoindent; + uchar showdel; int id; Range addr; Range limit; -- cgit v1.2.3