Closed mgutz closed 9 years ago
You can do this by commenting out this line in nwm.c, then rebuilding:
[EnterNotify] = event_enternotify,
This may cause difficulties, however - I haven't really run this setup so I don't know how things will work in practice. It should be possible to refocus then by clicking on windows even after this.
I think I'll have to spend a day or so going mouseless to get a better picture of what the issues here are. If you try this out, do let me know how it works out.
Thank you.
Working fine so far, I like the behavior better but it's definitely for people who like the keyboard. For example, I can't mouse click on a terminal or a browser to activate it, which is tradeoff I'll put up with. I much prefer not losing focus inadvertently.
I'll report back if I encounter any other side effects.
One annoyance with this approach is that if I launch a GUI app from the command line chromium-browser &!
and then close it, the active border disappears and I can no longer switch the active window using hotkeys. Anyway, I would not recommend this workaround for now.
How do you disable the focus follow mouse feature? I'm a keyboard guy and I inadvetrantly touch the touchpad then the active window changes.