Re: [ROOT] canvas auto refresh

From: Brett Viren (bv@bnl.gov)
Date: Wed Feb 14 2001 - 15:22:29 MET


Rene Brun writes:
 > This has nothing to do with Root.

This is not entirely true.  ``Well behaved'' X apps are expected to
redraw their windows when an expose event occurs.  Relying on:

 > You must activate the backing store option of your window manager.

is technically a crutch.  However, since the flow of control is
usually in the root prompt and there is no way for it to respond to X
events when idle, it is an understandable one.  Putting the root
prompt in one thread and all GUI code in another would let root be
``well behaved'', but at the expense of all the complications threads
bring.

Regards,
-Brett.



This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:07 MEST