summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Kreitman <stuart.kreitman@sun.com>2006-09-27 19:02:02 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-27 19:02:02 -0700
commit6c4d82990973b02a756ab3ba83ea345fed4bf87e (patch)
tree114806293bc6a21c37aaba7bf61c72692a1f71df
parentcd58068a11dbec3a17099fb699885e5e20e6ae36 (diff)
Sun bug #5099413/Xorg bugzilla #1554: Gnopernicus full-screen mag not working
Sun bug #5099413: Gnopernicus full-screen magnification not working <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=5099413> includes fix for Xorg bug #1554: rect defined in XFixesInvertRegion is not used <https://bugs.freedesktop.org/show_bug.cgi?id=1554>
-rw-r--r--src/Region.c5
1 files changed, 5 insertions, 0 deletions
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);