Revert "honor configrequest"

This reverts commit 1eebcd74cd.
This commit is contained in:
Julien Danjou 2008-01-05 18:31:01 +01:00
parent 1eebcd74cd
commit e833ab06d6
1 changed files with 25 additions and 21 deletions

View File

@ -142,6 +142,8 @@ 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;
@ -165,6 +167,8 @@ 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