Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hirai@cc.swarthmore.edu (Eiji Hirai)
Subject: xli 1.15, small patch
Date: Thu, 16 Sep 1993 00:45:24 GMT	[thread overview]
Message-ID: <CDF8rp.KxC@cc.swarthmore.edu> (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


                 reply	other threads:[~1993-09-16  0:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox