unofficial patch to tvtwm window manager

Tom Horsley tom at ssd.csd.harris.com
Fri Aug 31 03:12:32 AEST 1990


The tvtwm window manager just appeared in comp.sources.x
(v09i002: TWM with a virtual root window)

I think I will learn to love tvtwm, but I had to make one change to get it
to work properly:

*** vdt.c.orig	Thu Aug 30 12:50:36 1990
--- vdt.c	Thu Aug 30 12:45:48 1990
***************
*** 576,582 ****
      XGrabButton(dpy, Button3, AnyModifier, Scr->Panner,
  	True, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
  	GrabModeAsync, GrabModeAsync, Scr->Panner, None);
!     XSetWMProperties(dpy, Scr->Panner, wName, iName, NULL, 0,
  	sizeHints, wmHints, classHints);
  
      if (Scr->PannerState != WithdrawnState)
--- 576,582 ----
      XGrabButton(dpy, Button3, AnyModifier, Scr->Panner,
  	True, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
  	GrabModeAsync, GrabModeAsync, Scr->Panner, None);
!     XSetWMProperties(dpy, Scr->Panner, &wName, &iName, NULL, 0,
  	sizeHints, wmHints, classHints);
  
      if (Scr->PannerState != WithdrawnState)

In our X11R4 source tree the args to XSetWMProperties are pointers, not
structs. I am fairly sure this is the same for everyone else as well...
--
======================================================================
domain: tahorsley at csd.harris.com       USMail: Tom Horsley
  uucp: ...!uunet!hcx1!tahorsley               511 Kingbird Circle
                                               Delray Beach, FL  33444
+==== Censorship is the only form of Obscenity ======================+
|     (Wait, I forgot government tobacco subsidies...)               |
+====================================================================+



More information about the Comp.sources.bugs mailing list