* xli 1.15, small patch
@ 1993-09-16 0:45 Eiji Hirai
0 siblings, 0 replies; only message in thread
From: Eiji Hirai @ 1993-09-16 0:45 UTC (permalink / raw)
This is a small patch to xli 1.15 so that things like "xli -onroot" will
work properly with DEC OSF/1 1.3's Xdec. Now I can have a nifty background
on my screen. :-)
[ I wonder if I'm behind the times if I'm using xli instead of xloadimage
or xview or xv or something else? -Eiji ]
*** root.c.old Fri Jul 23 04:18:51 1993
--- root.c Wed Sep 15 20:37:15 1993
***************
*** 97,102 ****
--- 97,103 ----
}
}
+ #ifndef __osf
/* this returns the root window for DECWindows servers. this is right
* out of xsetroot with minor formatting changes.
*/
***************
*** 143,148 ****
--- 144,150 ----
temporary_rootW = getWmRootWindow(dpy, root);
return(getWmRootWindow(dpy, temporary_rootW));
}
+ #endif
void imageOnRoot(dinfo, image, options)
DisplayInfo *dinfo;
***************
*** 164,169 ****
--- 166,172 ----
else {
root = RootWindow(disp, scrn);
+ #ifndef __osf__
/* look for DECWindows servers because they do strange stuff with the
* root window. they should be shot for that one.
*/
***************
*** 171,176 ****
--- 174,180 ----
for (s= ServerVendor(disp); *s; s++)
if (!strncmp(s, "DECWINDOWS", 10))
root= getDECRootWindow(disp, root);
+ #endif
/* Added for window managers like swm and tvtwm that follow solbourne's
* virtual root window concept.
--
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA
"I post, therefore I am." -Rene Descartes on Usenet
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-09-16 0:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-16 0:45 xli 1.15, small patch Eiji Hirai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox