Event: Fix XMoveResize in configureevent()

This commit is contained in:
Martin Duquesnoy 2009-03-23 01:10:48 +01:00
parent afff0da8f5
commit d51ee4deda
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ configureevent(XEvent *ev)
/* Win config (re-adjust it with the frame) */
if(ev->xconfigure.x != BORDH
|| ev->xconfigure.y != BORDH + TBARH)
XMoveWindow(dpy, ev->xconfigure.window, BORDH, BORDH + TBARH);
XMoveWindow(dpy, ev->xconfigure.window, BORDH, TBARH);
}
/* }}} */

View File

@ -191,7 +191,7 @@ frame_moveresize(Client *c, XRectangle geo)
void
frame_update(Client *c)
{
int i, j;
int i;
CHECK(c);