parent
14165eaed3
commit
8f5976fe11
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue