Re: FVWM: FvwmPager (fvwm 2.0.43) bug

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Mon, 14 Oct 1996 12:57:56 -0400

>>>>> "zack" == zack <zack_at_rabi.phys.columbia.edu> writes:

zack> I can get the FvwmPager module to die fairly consistently by moving
zack> an xterm from some other virtual desktop to the currently selected one
zack> with middle-mouse. The xterm shows up, the pager window vanishes, and
zack> I get this error message in my xconsole:

zack> X Error of failed request: BadMatch (invalid parameter attributes)
zack> Major opcode of failed request: 42 (X_SetInputFocus)
zack> Serial number of failed request: 3025
zack> Current serial number in output stream: 3025

zack> I'm not certain, but it only seems to happen with xterm.

Known problem, fixed in the next beta. Try this patch:

----------------------------------------------------------------------
diff -ru x_pager.c.orig x_pager.c
--- x_pager.c.orig Mon May 6 15:51:02 1996
+++ x_pager.c Fri Sep 27 14:08:45 1996
_at_@ -1437,6 +1437,9 @@
        }
       if(Scr.CurrentDesk == t->desk)
        {
+ XSync(dpy,0);
+ sleep_a_little(5000);
+ XSync(dpy,0);
          if(t->flags & ICONIFIED)
            XSetInputFocus (dpy, t->icon_w, RevertToParent, Event->xbutton.time);
          else
----------------------------------------------------------------------

Chuck

--
*******************************************************************************
Charles K. Hines <chuck_hines_at_vnet.ibm.com>
IBM Logic Synthesis Developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis, Presas Style Filipino Martial Arts]
         "Go back to sleep, Chuck.  You're just havin' a nightmare
             -- of course, we ARE still in Hell." (Gary Larson)
*******************************************************************************
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Oct 14 1996 - 12:09:03 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST