mirror of
https://github.com/0intro/wmii
synced 2025-02-12 20:34:39 +03:00
Fixed configurerequest again
This commit is contained in:
parent
e53f4f0a11
commit
63a7d58bff
1
client.c
1
client.c
@ -30,7 +30,6 @@ create_client(Window w, XWindowAttributes *wa) {
|
||||
c->rect.height = wa->height;
|
||||
c->proto = win_proto(c->win);
|
||||
update_client_name(c);
|
||||
gravitate_client(c, False);
|
||||
|
||||
c->fixedsize = False;
|
||||
XGetTransientForHint(blz.dpy, c->win, &c->trans);
|
||||
|
6
event.c
6
event.c
@ -103,11 +103,11 @@ configurerequest(XEvent *e) {
|
||||
if(ev->value_mask & CWX)
|
||||
c->rect.x = ev->x;
|
||||
if(ev->value_mask & CWY)
|
||||
f->rect.y = ev->y;
|
||||
c->rect.y = ev->y;
|
||||
if(ev->value_mask & CWWidth)
|
||||
f->rect.width = ev->width;
|
||||
c->rect.width = ev->width;
|
||||
if(ev->value_mask & CWHeight)
|
||||
f->rect.height = ev->height;
|
||||
c->rect.height = ev->height;
|
||||
if(ev->value_mask & CWBorderWidth)
|
||||
c->border = ev->border_width;
|
||||
gravitate_client(c, False);
|
||||
|
Loading…
x
Reference in New Issue
Block a user