Prevent focus stealing in Awesome WM, especially from Skype

awesomeplasma

When I use KDE with Awesome WM and get a new message in Skype, Plasma Desktop steals the focus. This drives me crazy as I cannot just continue typing in my current window. Is there some way to prevent this for any open window?

It seems that such a focus steal is prevented by Awesome WM or Plasma, but the window switcher from Plasma still highlights the window. Therefore, the Plasma control bar (the one at the bottom) is un-hidden and therefore stealing the focus itself.

When I did a killall plasma-desktop, the focus stealing stopped. However, I also killed plasma-nm and other things that I'd like to use.

Best Answer

The actual problem was not Skype stealing the focus. Skype just notified the window manager that it had some activity. Then Awesome WM showed the tag (virtual desktop) as having activity. But then the KDE Plasma panel still contained a list of the active windows. In that KDE widget the window with activity was changed and Awesome WM then put the focus to the KDE Plasma panel.

I removed the window list from the Plasma panel and was never bothered again.

Related Question