honor configrequest

This commit is contained in:
Julien Danjou 2008-01-05 18:05:27 +01:00
parent e991be1401
commit 1eebcd74cd
1 changed files with 22 additions and 26 deletions

View File

@ -142,8 +142,6 @@ handle_event_configurerequest(XEvent * e)
int old_screen;
if((c = get_client_bywin(globalconf.clients, ev->window)))
{
if(c->isfixed)
{
if(ev->value_mask & CWX)
c->rx = c->x = ev->x - c->border;
@ -167,8 +165,6 @@ handle_event_configurerequest(XEvent * e)
tag_client_with_rules(c);
XMoveResizeWindow(e->xany.display, c->win, c->rx, c->ry, c->rw, c->rh);
arrange(c->screen);
}
else
window_configure(c->win, c->x, c->y, c->w, c->h, c->border);
}
else