[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: visibility?
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-03-08 22:56:31
[Download RAW message or body]

#if David Smith
> Rik Hemsley wrote:
> > 
> > So if some apps don't set WM_COMMAND, how do we know when they have
> > mapped ? The answer is, we don't. I can't see a way to be sure, and
> > if we can't be sure, we shouldn't mess, as we'll just get into
> > trouble.
> 
> I saw another way to get a clue about which app is behind a window
> in scwm:  Use LD_PRELOAD when starting a program to load a library
> that overrides XCreateWindow() and sets a property with the pid 
> whenever a window is opened.
> I guess, depending on preferences, you would call this either really 
> cool or really ugly... 

Sounds like a good idea to me. Does it always work properly in scwm ?
If so, I think we should use it. We could add a line to the desktop
files of apps that are 'compliant' (set WM_COMMAND) to say they
work and use this for the rest.

Rik

-- 
Shuffle fragments.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic