Bradley T Hughes wrote:
It seems like you guys are suffering from BlackboxWindow::activate(), which does the following:

1. if the window is not on the current workspace, change the workspace
2. show the window if it's not visible
3. unshade the window if it's shaded
4. focus the window
5. raise the window if it got focus

This particular function happens for a couple of reasons:

1. user deiconifies the window using the Icons menu
2. the window uses XMapWindow to deiconify itself
3. the window uses a WM_CHANGE_STATE client message to deiconify itself
4. we get a _NET_ACTIVE_WINDOW client message for the window

I'm guessing either 2 or 3 is happening, and it's causing interruptions. I would say, naughty programs that interrupt work flow should be squelched.

Unfortunately, this is not very easy to do, so it may take time to get it right. If anyone wants to volunteer/help/etc. please feel free :)


I don't know the details be hind it, but I liked what happened in eairler versions of blackbox. I'll use gaim as my example. I had it set so that the window would be activated when the person I was chatting with sent a message. In the eairler versions of blackbox this made the gaim message window pop-up infront of all the other windows on the workspace, but it did not gain focus, and if the gaim window was on a different workspace, the workspace was not changed, gaim's message window was mearly raised on that workspace. I really liked this. It wouldn't interupt me when I was working and/or chatting on IRC, but I could see that someone sent a message and I could then reply once I finished my current task.


Lately I havn't had the problem with workspaces switching, and gaim doesn't pop-up to the front anymore either. Not sure if I just disabled this in gaims options or what though.


--
Keith Maika
http://kicken.mine.nu:8008/ - Personal Site.
http://wiser.kicks-ass.org:8008/ - Long-term Project.
http://www.fsf.org/philosophy/can-you-trust.html - Can you trust your computer?
http://www.fsf.org/philosophy/no-word-attachments.html - Support Free Communication.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html

Reply via email to