summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:58:34 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:58:34 +0000
commita2a3d8cf273710955084de8ac9586298cde0f7f7 (patch)
tree3d62310114267203e94be61d3cfd8629c89586ae /print.c
parent8be32f5a0e4fc2355f16b2714d541f75dfb5860e (diff)
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/print.c b/print.c
index f068afe..54f5a29 100644
--- a/print.c
+++ b/print.c
@@ -305,6 +305,10 @@ void DoPrintTextSource(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);