On Mon, Nov 10, 2014 at 11:47:06PM -0800, Jonas VP wrote:
> Hi Tycho,
> 
> thanks for the quick reply!
> 
> I think hooks.current_screen_change will do what you want. You can see 
> > the (very convoluted) logic in libqtile/widget/groupbox.py's 
> > hook_response() on how exactly to use it. 
> >
> 
> That's very helpful! I'll try to hook into that.
>  
> 
> There is also the this_current_screen_boder param for groupbox that 
> > may be useful as well. 
> >
> 
> Yes, I found that - it doesn't help when trying to find out which screen is 
> active, though.
> 
>  
> 
> > Ideally we'd only have one window with a focus border at a time. There 
> > is a patchset to do this, but it hasn't been rebased in a while and it 
> > broke a bunch of tests when I last tried it. Let me know if you want 
> > and I can point you to it. 
> >
> 
> After writing the message I figured out the root problem is not the 
> currently active *screen* but *window*. The thin blue focus line only shows 
> up in the Stack layout for me, not with Max (which I mostly use). I'll try 
> to find ways of highlighting the active window in all layouts and more 
> visibily, that might just solve the problem for me. The patchset sounds 
> interesting, if you still have the link I'll be happy to take a look at it.

Sure, the patchset is here:
https://github.com/tych0/qtile/tree/uberj-blur-work

The top two patches in that branch are the attempt to only show one
focus border across all of qtile. I'd really love to merge something
like that, but I haven't been able to figure out exactly why the tests
were failing, and I haven't rebased it in a long time to try again.

Tycho

> Jonas
> 
> -- 
> 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