On Sun, Nov 01, 2015 at 10:05:22AM -0800, Martin Morez wrote:
> Qtile does not auto_focus window group when a window is created, and i 
> would do this for some clients.
> So i tried this hook :
> @hook.subscribe.client_new
> def auto_focus(window):
>     window.group.focus(window)

Why not just `window.focus()`?

> 
> it doesn't seem to work, can someone help me ?
> thanks a lot
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to