Clicking a window doesn't move focus

asked 2015-04-25 12:02:40 +0000

bluekeys gravatar image

updated 2015-04-25 17:31:05 +0000

Hi newb here,

Loving i3.

Currently using a triple monitor setup at home.

Common usage is monitor 1 -> firefox, 2 -> emacs, 3 -> terminal

Although i have set

focus_follows_mouse no

When I click on the terminal after leaving a window the terminal doesn't receive keyboard focus (or even appear to have focus at all, it is still dimmed) and typing continues in emacs or firefox or wherever it was.

The exact same problem occurs whichever window I am going from or to.

My habit has become to reload my config because for the first click focus is achieved as expected.

This is particularly annoying when a popup window needs to be cleared and I have to reload the config and then goto the mouse and ...

Moving focus using $mod + 1 etc works as expected.

Please help and advise where this question falls short and I will try to improve it by adding detail, clarity where requested etc.


edit retag flag offensive close merge delete


Sounds like you actually want `focus_follows_mouse yes`?

airblader gravatar imageairblader ( 2015-04-25 21:39:29 +0000 )edit

No. The documentation shows that when set to no the focus should follow the click but not movement

bluekeys gravatar imagebluekeys ( 2015-04-25 22:29:47 +0000 )edit

Can you please report this as a bug on github? Don't forget a log file (best would be to restart i3 right before clicking on a window once and typing a little and then take the log right away, that way the file stays small). Also make sure you're on the latest version of i3.

airblader gravatar imageairblader ( 2015-04-26 06:57:36 +0000 )edit