use relative window coords when setting up desk transitions; fixes animations with multiple monitors

This commit is contained in:
Mike Blumenkrantz 2013-05-23 11:06:11 +01:00
parent 84c9e12238
commit 36bdc32757
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}