diff options
author | okan <okan> | 2008-05-18 20:06:36 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-18 20:06:36 +0000 |
commit | a94f4bbb7a5771fd20c300893f6331aba9f4d571 (patch) | |
tree | c299132432363e6c862eb87dd114f0e4ec2cfb4c /xevents.c | |
parent | 5a0128bdc7d9291dd47861acd88a649e30e08400 (diff) | |
download | cwm-a94f4bbb7a5771fd20c300893f6331aba9f4d571.tar.gz cwm-a94f4bbb7a5771fd20c300893f6331aba9f4d571.tar.xz cwm-a94f4bbb7a5771fd20c300893f6331aba9f4d571.zip |
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@
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c index 54f07a9..f668961 100644 --- a/xevents.c +++ b/xevents.c @@ -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; |