discomfitor pushed a commit to branch master.

commit 36bdc32757c030b416743fd1a14dfcd9bd328733
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu May 23 11:06:11 2013 +0100

    use relative window coords when setting up desk transitions; fixes 
animations with multiple monitors
---
 src/bin/e_desk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index bffebe5..0df8e0a 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -721,7 +721,7 @@ _e_desk_transition_setup(E_Border *bd, int dx, int dy, int 
state)
    if (e_config->desk_flip_animate_type)
      {
         /* set geoms */
-        e_comp_win_effect_params_set(bd->cw, 1, (int[]){bd->x, bd->y, bd->w, 
bd->h, bd->zone->w, bd->zone->h, dx, dy}, 8);
+        e_comp_win_effect_params_set(bd->cw, 1, (int[]){bd->x - bd->zone->x, 
bd->y - bd->zone->y, bd->w, bd->h, bd->zone->w, bd->zone->h, dx, dy}, 8);
         e_comp_win_effect_params_set(bd->cw, 0, (int[]){state}, 1);
      }
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to