Dilwyn Jones writes:

> >Is there a standard way to put a job to sleep? I notice that jobs
> like Qpac

> First did you mean BUTTON_SLEEP?

Yes. Sorry.

<>
> the BUTTON_SLEEP program puts any reasonably behaved job to sleep, by
> locking the job's windows, removing them from the display and then

Exactly. This is the clever bit. How is that done?

> creating a button for the display. When the button is woken, the
> windows are restored and unlocked.

Because I want to control my own button I dont want to use the BUTTON_SLEEP
utility but the locking and removal bit, without apparently upsetting the
windows in any way is what Im after.

> No idea about the state of documentation for this though.

I guess it down to RTFB.

Per


Reply via email to