From 6c4d82990973b02a756ab3ba83ea345fed4bf87e Mon Sep 17 00:00:00 2001 From: Stuart Kreitman Date: Wed, 27 Sep 2006 19:02:02 -0700 Subject: Sun bug #5099413/Xorg bugzilla #1554: Gnopernicus full-screen mag not working Sun bug #5099413: Gnopernicus full-screen magnification not working includes fix for Xorg bug #1554: rect defined in XFixesInvertRegion is not used --- src/Region.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Region.c') diff --git a/src/Region.c b/src/Region.c index c9f5920..0bbc1a2 100644 --- a/src/Region.c +++ b/src/Region.c @@ -251,6 +251,10 @@ XFixesInvertRegion (Display *dpy, XserverRegion dst, GetReq (XFixesInvertRegion, req); req->reqType = info->codes->major_opcode; req->xfixesReqType = X_XFixesInvertRegion; + req->x = rect->x; + req->y = rect->y; + req->width = rect->width; + req->height = rect->height; req->source = src; req->destination = dst; UnlockDisplay (dpy); @@ -320,6 +324,7 @@ XFixesFetchRegionAndBounds (Display *dpy, req->reqType = info->codes->major_opcode; req->xfixesReqType = X_XFixesFetchRegion; req->region = region; + *nrectanglesRet = 0; if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) { UnlockDisplay (dpy); -- cgit v1.2.3