Speed up fullscreen mode toggling.

SVN revision: 17239
This commit is contained in:
Kim Woelders 2005-10-06 16:53:01 +00:00
parent 3ddfaa2d8e
commit 8c3fdd3d17
1 changed files with 2 additions and 1 deletions

View File

@ -1333,6 +1333,7 @@ EwinSetFullscreen(EWin * ewin, int on)
w = ww;
h = hh;
}
EwinBorderSetTo(ewin, b);
if (Conf.place.raise_fullscreen)
{
@ -1361,6 +1362,7 @@ EwinSetFullscreen(EWin * ewin, int on)
GetOnScreenPos(x, y, w, h, &x, &y);
ewin->props.fixedpos = 0; /* Yeah - well */
b = ewin->normal_border;
EwinBorderSetTo(ewin, b);
if (Conf.place.raise_fullscreen)
{
@ -1378,7 +1380,6 @@ EwinSetFullscreen(EWin * ewin, int on)
EwinMoveResize(ewin, x, y, w, h);
}
HintsSetWindowState(ewin);
EwinSetBorder(ewin, b, 1);
}
void