Hey,

just curious: Shouldn't ooffice be fixed instead of introducing exceptions in e?

BR,

Leif

2011/3/9 Enlightenment SVN <[email protected]>:
> Log:
> e17: disable pointer warp on _net_active_window client message
>
>
> Author:       jeffdameth
> Date:         2011-03-08 15:09:09 -0800 (Tue, 08 Mar 2011)
> New Revision: 57608
> Trac:         http://trac.enlightenment.org/e/changeset/57608
>
> Modified:
>  trunk/e/src/bin/e_manager.c
>
> Modified: trunk/e/src/bin/e_manager.c
> ===================================================================
> --- trunk/e/src/bin/e_manager.c 2011-03-08 22:35:11 UTC (rev 57607)
> +++ trunk/e/src/bin/e_manager.c 2011-03-08 23:09:09 UTC (rev 57608)
> @@ -969,8 +969,15 @@
>                  if (!bd->lock_user_stacking) e_border_raise(bd);
>                  if (!bd->lock_focus_out)
>                    {
> -                      if (e_config->focus_policy != E_FOCUS_CLICK)
> -                        ecore_x_pointer_warp(bd->zone->container->win,
> +                      int requestor_id = e->data.l[2];
> +                      /* FIXME for now only set pointer when not
> +                      requested by a client. ooffice does send this
> +                      request for dialogs which should be modal when
> +                      the main window gets focus. causing the pointer
> +                      to jump back and forth. are there any other
> +                      apps that use _net_active_window ? */
> +                      if ((requestor_id == 2) && (e_config->focus_policy != 
> E_FOCUS_CLICK))
> +                        ecore_x_pointer_warp(bd->zone->container->win,
>                                              bd->x + (bd->w / 2), bd->y + 
> (bd->h / 2));
>                       e_border_focus_set(bd, 1, 1);
>                    }
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to