Quoting "Rodney McDonell" <[email protected]>:

> So I've created a patch for the blackbox window manager, that allows the
> user to select windows whos process should be paused when all the
> windows of that process are obscured.
>
> I use the word "obscured" because i primarily use the XVisibility event
> to understand when windows aren't being shown which has the following
> states: FullyObscured, PartiallyObscured, UnObscured.

One more thing: stopping processes is pretty heavy-handed, so if  
you're stopping all non-visible windows, you might want to make it  
configurable which processes are affected.

Just look for the code that handles sticky windows and create an  
equivalent for "stoppable" windows (or whatever) and make it default  
to "off". Then make the code stopping the processes look for that flag.
That way you can have in your WM config file a line saying that all  
windows of class "Firefox" are stoppable and only they will be  
affected...

Omair

-- 
Information is not knowledge. Knowledge is not wisdom. Wisdom is not  
truth. Truth is not beauty. Beauty is not love. Love is not music.  
Music is the best...

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power

Reply via email to