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.
I actually did something like this with JWM a while ago: I created a keybinding to send SIGSTOP/SIGCONT to the active window, which will literally freeze it so it doesn't cause any wakeups... It's basically a matter of finding the PID of the process, then sending kill(pid,SIGSTOP) (-pid would be better, but didn't work for me for some reason). The only tricky part is that the WM needs to minimize the window before freezing it, otherwise some confusion can occur with relation to focusing etc... 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
