[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Application launch detection



> I think the kill(pid, SIGUSR1) is quite evil; apps may use USR1 for
> something else. We shouldn't appropriate USR1 for what's essentially a
> system function since it's reserved for apps.

Agree. 

> The XSendEvent solution sounds like it could be a good plan. The
> advantage would be that the launcher app avoids monitoring all mapped
> windows, right? 

Yes. 

>This still uses an env variable, just doesn't set a
> property on client windows, correct?

Correct. You can find some sort of demo-code on
http://www.lysator.liu.se/~astrand/projects/xalf/monitor.tar.gz


-- 
/Peter Astrand <astrand lysator liu se>






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]