From 94f477c0dfce0f3bf90d0427b38ba5e09248bb50 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Fri, 11 Feb 2005 10:58:38 +0000 Subject: Import changes from XORG-6.8.2 --- print.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'print.c') 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); -- cgit v1.2.3