diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 07:15:56 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 07:15:56 +0000 |
commit | 50ed3639f02259ccf0f317f8b0dd5b1fa8314037 (patch) | |
tree | 5379e29c1bcf6e73ec293f2ac0391548a20f8560 | |
parent | c25aad3c192891b3d95cb40d336d874f9d7c0603 (diff) |
xc/programs/xman/print.cXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8-branch
xc/programs/xmore/print.c
//bugs.freedesktop.org/show_bug.cgi?id=1601) attachment #1088
(https://bugs.freedesktop.org/attachment.cgi?id=1088): Fix problems
with wrong page counts in xedit&co. when a global "*geometry" resource
was overriding the internal geometry management used by
XawPrintShell(=usually adjust to current page size, the resource was
turning this into a static value).
-rw-r--r-- | print.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -294,6 +294,10 @@ void DoPrintManpage(const char *programname, apd->jobtitle = jobtitle; n = 0; + /* Override any geometry resource settings as XawPrintShell adjusts it's size + * to the current page siue when |XawPrintLAYOUTMODE_DRAWABLEAREA| or + * |XawPrintLAYOUTMODE_PAGESIZE| are used. */ + XtSetArg(args[n], XtNgeometry, "+0+0"); n++; XtSetArg(args[n], XawNlayoutMode, XawPrintLAYOUTMODE_DRAWABLEAREA); n++; apd->printshell = CreatePrintShell(toplevel, apd->pscreen, "printshell", args, n); |