The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Disable focus on open

asked 2013-06-14 09:27:40 +0000

sanpi gravatar image

Hello,

Since 4.4 (or 4.5) when I open a link, the browser automatically gets the focus.

How revert this behavior (keep the focus on the current windows)?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-14 15:10:41 +0000

oblique gravatar image

Commit fa4894f added this feature because some programs want to get focused. The only way to revert this is to edit the code and remove handling of _NET_ACTIVE_WINDOW event. If the main developer (micheal) agree then I can implement a boolean option for it in the config file.

edit flag offensive delete link more

Comments

We want to address this in a broader scope. There are other places in i3 where focus gets set (managing a new window) and that should be affected by such a setting, too. Also, it might be worthwhile to make that per-window.

Michael gravatar imageMichael ( 2013-06-14 16:14:04 +0000 )edit

Ok, i3 have a right behaviour, this is firefox that steal the focus when I open an URL. The parameter *browser.tabs.loadDivertedInBackground* fix this problem.

sanpi gravatar imagesanpi ( 2013-06-24 13:24:34 +0000 )edit

Question Tools

Stats

Asked: 2013-06-14 09:27:40 +0000

Seen: 234 times

Last updated: Jun 14 '13