fix window desk send flip to action (GLIMAAAAAAAAAAAAAAAAAAAAA)

This commit is contained in:
Mike Blumenkrantz 2013-05-21 11:29:50 +01:00
parent 9e16026e04
commit 9836d657d2
1 changed files with 2 additions and 3 deletions

View File

@ -1295,13 +1295,12 @@ ACT_FN_GO(window_desk_move_by, )
if (desk)
{
/* switch desktop. Quite useful from the interface point of view. */
e_zone_desk_flip_by(bd->zone, to_x - dx, to_y - dy);
/* send the border to the required desktop. */
e_border_desk_set(bd, desk);
/* switch desktop. Quite useful from the interface point of view. */
e_zone_desk_flip_by(bd->zone, to_x - dx, to_y - dy);
if (!bd->lock_user_stacking)
e_border_raise(bd);
e_border_focus_set(bd, 1, 1);
}
}
}