[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] Command line interface for wmx?

Lasse Rasinen - Mon Jan 17 13:21:04 2000

Dave Holland <dave.holland@incyte.com> writes:

> On Mon, Jan 17, 2000 at 12:40:57AM +0200, Lasse Rasinen wrote:
> > So I'm proposing a following system:
> > $ wmx-next -sticky
> > $ xterm
> 
> There's a race condition there. What happens if between those two
> commands executing, some other program opens a window?

I know. This would work in .xsession or similar, probably.

> Better to have some utility that exec's a program that's passed as an
> argument, i.e.
> 
> $ wmx-exec -sticky xterm

But there's no way to associate a process id with X window id. Therefore,
we don't know when the new window opened comes from the program we want it
to be.

All in all, this is a tricky subject. Good ideas welcome.


Next: