diff options
| -rw-r--r-- | src/rmd_poll_events.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/rmd_poll_events.c b/src/rmd_poll_events.c index 3639751..af1fecf 100644 --- a/src/rmd_poll_events.c +++ b/src/rmd_poll_events.c @@ -130,6 +130,11 @@ static void uv_align(XRectangle *cliprect, XRectangle *xrect)  	if (rel.height % 2 && rel.height + rel.y < cliprect->y + cliprect->height)  		rel.height++; + +	xrect->x = rel.x + cliprect->x; +	xrect->y = rel.y + cliprect->y; +	xrect->width = rel.width; +	xrect->height = rel.height;  } | 
