mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
send the correct x/y coordinates to XConfigureWindow()
fixes some windows that seem as if they don't fit; noticed by Edd Barrett. ok oga@
This commit is contained in:
parent
5a0128bdc7
commit
a94f4bbb7a
@ -141,8 +141,8 @@ xev_handle_configurerequest(struct xevent *xev, XEvent *ee)
|
||||
xev_reconfig(cc);
|
||||
}
|
||||
|
||||
wc.x = cc != NULL ? 0 : e->x;
|
||||
wc.y = cc != NULL ? 0 : e->y;
|
||||
wc.x = cc != NULL ? cc->bwidth : e->x;
|
||||
wc.y = cc != NULL ? cc->bwidth : e->y;
|
||||
wc.width = e->width;
|
||||
wc.height = e->height;
|
||||
wc.stack_mode = Above;
|
||||
|
Loading…
Reference in New Issue
Block a user