changed behavior when focusing new windows with autofocus enabled
commitd74a90d1bf2f2a8c5a7a5a73ff7795612b6cb06a
authorRalf Hoffmann <ralf@boomerangsworld.de>
Fri, 4 Dec 2009 14:01:14 +0000 (4 15:01 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 8 Dec 2009 15:14:29 +0000 (8 16:14 +0100)
tree02e649ffc9f02bc4e3979bddb1ec0e888dcd3375
parentfe8ab024afa7cda3c63e77973dff51c3cc5e153a
changed behavior when focusing new windows with autofocus enabled

New windows will only get focused if the mouse is on the same screen.
The code doesn't handle multiple heads but since it's just one screen
the function works as usual. Checking the head and assign the focus only
if the window is on the same head might be a good idea. Making the whole
stuff optional might be even better.
src/window.c