[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] ibox patch for click to focus
From:       Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date:       2006-04-13 22:46:29
Message-ID: 20060414074629.1d1bf959.raster () rasterman ! com
[Download RAW message or body]

On Fri, 14 Apr 2006 00:12:22 +0900 "David Stevenson" <david.35472@gmail.com>
babbled:

> There was a request from a "click-to-focus" user to have windows
> automatically focused when they are uniconified using the ibox module. This
> seems like a reasonable behavioural expectation, since we are clicking on
> "the window" - it's just in its iconified state when we do so.
> 
> The patch below achieves this for both click to focus focus policy and for
> the "always-click-to-focus" option.
> 
> I've not committed this directly due to the pending gadget changes.

this is going to have to wait unfortunately. i haven't done ibox yet... still
doing ibar... :/

> David
> 
> 
> Index: e_mod_main.c
> ===================================================================
> RCS file: /cvs/e/e17/apps/e/src/modules/ibox/e_mod_main.c,v
> retrieving revision 1.44
> diff -u -r1.44 e_mod_main.c
> --- e_mod_main.c        12 Mar 2006 16:12:58 -0000      1.44
> +++ e_mod_main.c        13 Apr 2006 14:56:52 -0000
> @@ -933,7 +933,10 @@
>     ev = event_info;
>     ic = data;
>     if (ev->button == 1)
> -     e_border_uniconify(ic->border);
> +     {
> +       e_border_uniconify(ic->border);
> +       e_focus_event_mouse_down(ic->border);
> +     }
>  }
> 
>  static void


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic