Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucbvax!agate!ICSI.Berkeley.EDU!stolcke From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.windows.x Subject: Re: Two Question on tvtwm Message-ID: <1991Jan8.204532.3392@agate.berkeley.edu> Date: 8 Jan 91 20:45:32 GMT References: <71795@bu.edu.bu.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Organization: International Computer Science Institute, Berkeley, CA Lines: 45 In article <71795@bu.edu.bu.edu>, jc@bu-pub.bu.edu (James Cameron) writes: |> |> In article , razdan@phx.mcd.mot.com (Anshuman Razdan) writes: |> |> In article razdan@phx.mcd.mot.com (Anshuman Razdan) writes: |> |> |> |> |> |> |> |> |> |> Hi folks, |> |> After playing with mwm I got back to the wonderful world |> |> of twm and I discovered still wonderful tvtwm. I have two |> |> questions regarding the behaviour of tvtwm (twm). I am not sure |> |> if they are bugs or features(?). |> |> |> |> 1. When I use the virtual desktop option, the background |> |> pixmap of my screen becomes the stippled grey pattern (the |> |> defualt when you bring up the server). It replaces the root pattern |> |> that I set with xsetroot. When I restart the windowmanager, the |> |> old pattern gets displayed momentarily before getting replaced by |> |> twm supplied gray pattern. Is there a fix or work around to it? |> |> |> > |> > I found a fix for Problem 1. It is to be done using |> > VirtualDesktopBackgroundPixmap resource. The hunt for soln to #2 |> > is still on. |> > |> |> Has anyone found an 'on-the-fly' solution? Depends on what you call `on-the-fly'. VirtualDesktopBackgroundPixmap is no real solution because it gives you only a fraction of the functionality of xsetroot. What you want is a version of xsetroot that honors virtual root windows. Replace mit/clients/xsetroot.c with the ssetroot.c file that comes with tvtwm and recompile. Many other clients can be coerced into using the virtual root by using the "vroot.h" header file in expo.lcs.mit.edu:contrib. Hopefully R5 will include a standard way of dealing with virtual roots... -- Andreas Stolcke stolcke@icsi.berkeley.edu International Computer Science Institute stolcke@ucbicsi.bitnet 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126