* [9fans] acme "safe"
@ 2006-07-24 14:28 rog
2006-07-24 16:22 ` Russ Cox
0 siblings, 1 reply; 2+ messages in thread
From: rog @ 2006-07-24 14:28 UTC (permalink / raw)
To: 9fans
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] acme "safe"
2006-07-24 14:28 [9fans] acme "safe" rog
@ 2006-07-24 16:22 ` Russ Cox
0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2006-07-24 16:22 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-24 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-24 14:28 [9fans] acme "safe" rog
2006-07-24 16:22 ` Russ Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).