On Tue, Feb 17, 2004 at 12:13:26AM +0000, David Given wrote:
> If I'm understanding it correctly, the answer is yes, but not reliably. 

You have it correctly.

> I gather applications tend to be very sloppy with their winprops; so 
> you'll find things like applications that give all their windows the 
> same class and instance, and the like. 

> And then there's the problem of 
> distinguishing between multiple instances of the same app

And the problem of knowing when the same instance has created multiple
similar windows (e.g. browsers). Also sometimes WM_COMMAND, even if set,
may be of no use, as the program may have been started by a wrapper shell
script that decompresses parameter files, sets up environment and so on.

> I have vague memories of some sort of X session management standard. 
> Does anyone know anything about this? Might it be useful?

There's a session management standard, and there's actually a module
and a patch for ion 20020207 for it. The number of "apps that matter"
with any kind of support for it: zero.

-- 
Tuomo

Reply via email to