parent
1eebcd74cd
commit
e833ab06d6
4
event.c
4
event.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue