Mail me your config, works here.

On Thu, Nov 21, 2013 at 9:37 AM, Tom Hacohen <tom.haco...@samsung.com>wrote:

> Hey,
>
> Either this or another commit since yesterday completely broke focus for
> me. I now have 2 focused windows.
>
> --
> Tom.
>
> On 20/11/13 23:18, Mike Blumenkrantz wrote:
> > discomfitor pushed a commit to branch master.
> >
> >
> http://git.enlightenment.org/core/enlightenment.git/commit/?id=d17ab08019eb1abe27c39d5201585656564ffe4b
> >
> > commit d17ab08019eb1abe27c39d5201585656564ffe4b
> > Author: Mike Blumenkrantz <zm...@enlightenment.org>
> > Date:   Wed Nov 20 13:17:42 2013 -0500
> >
> >      block mouse down focus event focus setting on already-focused
> windows
> >
> >      fixes steam menus with click focus, which previously would close
> immediately after opening when they lost focus
> > ---
> >   src/bin/e_focus.c | 11 +++++++----
> >   1 file changed, 7 insertions(+), 4 deletions(-)
> >
> > diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c
> > index 24cc3e9..28fb473 100644
> > --- a/src/bin/e_focus.c
> > +++ b/src/bin/e_focus.c
> > @@ -63,10 +63,13 @@ e_focus_event_mouse_out(E_Border *bd)
> >   EAPI void
> >   e_focus_event_mouse_down(E_Border *bd)
> >   {
> > -   if (e_config->focus_policy == E_FOCUS_CLICK)
> > -     e_border_focus_set(bd, 1, 1);
> > -   else if (e_config->always_click_to_focus)
> > -     e_border_focus_set(bd, 1, 1);
> > +   if (!bd->focused)
> > +     {
> > +        if (e_config->focus_policy == E_FOCUS_CLICK)
> > +          e_border_focus_set(bd, 1, 1);
> > +        else if (e_config->always_click_to_focus)
> > +          e_border_focus_set(bd, 1, 1);
> > +     }
> >      if (e_config->always_click_to_raise)
> >        {
> >           if (!bd->lock_user_stacking)
> >
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to