Don't chase sliding windows.

SVN revision: 18439
This commit is contained in:
Kim Woelders 2005-11-12 15:13:27 +00:00
parent 14165eaed3
commit 8f5976fe11
1 changed files with 4 additions and 2 deletions

View File

@ -137,7 +137,6 @@ SlideEwinTo(EWin * ewin, int fx, int fy, int tx, int ty, int speed)
ewin->state.animated = 0;
Mode.place.doing_slide = 0;
FocusEnable(1);
if (Conf.place.slidemode == 0)
EwinMove(ewin, tx, ty);
@ -145,6 +144,8 @@ SlideEwinTo(EWin * ewin, int fx, int fy, int tx, int ty, int speed)
DrawEwinShape(ewin, Conf.place.slidemode, tx, ty,
ewin->client.w, ewin->client.h, 2);
FocusEnable(1);
if (Conf.place.slidemode > 0)
EUngrabServer();
@ -1405,7 +1406,8 @@ EwinMoveToArea(EWin * ewin, int ax, int ay)
void
EwinOpActivate(EWin * ewin)
{
DeskGotoByEwin(ewin);
if (!ewin->state.animated)
DeskGotoByEwin(ewin);
EwinOpRaise(ewin);
if (ewin->state.iconified)
EwinOpIconify(ewin, 0);