ice-wm / icewm

IceWM releases only, see Wiki
https://github.com/ice-wm/icewm/releases
Other
289 stars 16 forks source link

How to prevent focus stealing? #58

Closed Shivasanta closed 3 years ago

Shivasanta commented 3 years ago

Hello,

I'm trying icewm and really enjoying it so far, but I have an annoying problem.

So, let's say I have my RSS news reader and a web browser both open in the same workspace.

If I open a post in the news reader to read it in the web browser then the focus immediately switches to the browser, I don't want that, I want the focus to stay on my news reader so I can browse more articles and read them later in the browser.

Even worse, if the browser and the reader are not in the same workspace then when I open an article the workspace will switch to the one that has the browser.

I tried the 6 different focus modes, and checked the different focus settings but wasn't able to change that behaviour.

Is there any way to get what I want?

gijsbers commented 3 years ago

https://ice-wm.org/man/icewm-winoptions

Navigator.Firefox.ignoreActivationMessages: 1
google-chrome.Google-chrome.ignoreActivationMessages: 1
chromium-browser.Chromium-browser.ignoreActivationMessages: 1
Shivasanta commented 3 years ago

Well, that was fast! Thanks a lot, it's exactly what I was looking for. Have a nice day!