From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 24 Jul 2006 09:22:54 -0700 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] acme "safe" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Topicbox-Message-UUID: 8a1dda62-ead1-11e9-9d60-3106f5b1d025 > does anyone know what "safe" implies in the context of the acme source code? > e.g. in > winresize(Window *w, Rectangle r, int safe, int keepextra) I believe that safe means the associated data structure elements or screen bits are all up-to-date. So if safe is false, winresize needs to redraw the entire window. But if safe is true, winresize can assume the window as currently described by the Window *w is correctly drawn, and need only redraw what it changes. Russ