BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 90 forks source link

New windows are not focused when focus_follows_mouse is on #44

Closed netvl closed 11 years ago

netvl commented 11 years ago

First of all, I liked your window manager very much. It really is great, I'll stick with it from this time on.

The issue is the follows. When focus_follows_mouse option is enabled, new windows are not focused unless they happen to appear directly under mouse cursor. This is incorrect behavior, other WMs do move the focus to the new window. This is, I guess, the most painful thing for me I have encountered)

BurntSushi commented 11 years ago

Thanks for trying Wingo :-)

Have you tried enabling the focus_follows_mouse_startup_focus option in the options.wini config file? It should do what you want.

You might also check out the other FFM options. They are documented.

This is incorrect behavior

I don't think so. I don't use FFM myself, but one thing I do know is that everyone has a different opinion on how it should work. The only reasonable solution is to come up with a sane default, and add options until a good chunk of different FFM configurations are possible.

netvl commented 11 years ago

I'm so stupid :( Now I recall, when I first looked through the options.wini file I have notices this option and even thought "that's what I certainly would like to enable when I configure other things". Shame on me. And of course you're right, I shouldn't have expressed my thoughts in that way. I just wanted to point out that all WMs I have ever tried (Awesome, dwm, i3, metacity, some others) are configured by default to focus new windows if FFM is enabled. By all means, your solution to this is as reasonable as possible.

BurntSushi commented 11 years ago

No worries! I'm just glad that what you want is already implemented. :-)