honor configrequest
This commit is contained in:
parent
e991be1401
commit
1eebcd74cd
4
event.c
4
event.c
|
@ -142,8 +142,6 @@ handle_event_configurerequest(XEvent * e)
|
||||||
int old_screen;
|
int old_screen;
|
||||||
|
|
||||||
if((c = get_client_bywin(globalconf.clients, ev->window)))
|
if((c = get_client_bywin(globalconf.clients, ev->window)))
|
||||||
{
|
|
||||||
if(c->isfixed)
|
|
||||||
{
|
{
|
||||||
if(ev->value_mask & CWX)
|
if(ev->value_mask & CWX)
|
||||||
c->rx = c->x = ev->x - c->border;
|
c->rx = c->x = ev->x - c->border;
|
||||||
|
@ -167,8 +165,6 @@ handle_event_configurerequest(XEvent * e)
|
||||||
tag_client_with_rules(c);
|
tag_client_with_rules(c);
|
||||||
XMoveResizeWindow(e->xany.display, c->win, c->rx, c->ry, c->rw, c->rh);
|
XMoveResizeWindow(e->xany.display, c->win, c->rx, c->ry, c->rw, c->rh);
|
||||||
arrange(c->screen);
|
arrange(c->screen);
|
||||||
}
|
|
||||||
else
|
|
||||||
window_configure(c->win, c->x, c->y, c->w, c->h, c->border);
|
window_configure(c->win, c->x, c->y, c->w, c->h, c->border);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue