diff options
author | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
---|---|---|
committer | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
commit | 2ef69a3b8a1c8feff130a7fe491a6f62361fe8fe (patch) | |
tree | 3d62310114267203e94be61d3cfd8629c89586ae /print.c | |
parent | 71eb560c323df9e78e1381eff41002f1df9cb44b (diff) |
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |