From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,daeb8734bcab16d6,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-15 17:57:16 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!wupost!psuvax1!news.cc.swarthmore.edu!hirai From: hirai@cc.swarthmore.edu (Eiji Hirai) Subject: xli 1.15, small patch Message-ID: Sender: news@cc.swarthmore.edu (USENET News System) Nntp-Posting-Host: gingko.cc.swarthmore.edu Organization: Computing Center, Swarthmore College, Swarthmore, PA, USA Date: Thu, 16 Sep 1993 00:45:24 GMT 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