summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-18 17:37:21 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-18 17:37:21 +0000
commit40126bd796b54bb493ecd1a63b7deb69b1c11cb9 (patch)
tree7c830408701242b9db2f1d66c290cd9642d809fe /print.c
parent3981cffbb6f4f4fe4227481c51083063a9ea995e (diff)
More 682 mergelg3d-rel-0-6-2
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);