>>>>> "Grant" == Grant McDorman <grant_at_isgtec.com> writes:
Grant> On 11-Mar-96, Mark Borges wrote:
>> X Error of failed request: BadMatch (invalid parameter attributes)
>> Major opcode of failed request: 42 (X_SetInputFocus)
>> Serial number of failed request: 41231
>> Current serial number in output stream: 41266
Grant> This is a timing problem in FvwmPager. I posted a patch some
Grant> time ago, but either it didn't make it to the list or it has
Grant> not been applied.
I have that patch still, but it frightened me somewhat, so I haven't
played with it yet. It's the sleep that bothers me, actually. I
understand the sync, but I want to know why the sleep is needed. I'm
wondering if there isn't a more correct fix (if not, of course I'll
use yours). I'll look into it when I get a chance.
Mark, I included Grant's patch below so you can give it a try if you'd
like.
Chuck
--------------->8 'FvwmPager-timing-bug.patch' cut here 8<---------------
*** x_pager.c.orig Wed Nov 15 16:10:31 1995
--- x_pager.c Tue Feb 6 11:53:39 1996
***************
*** 1427,1432 ****
--- 1427,1435 ----
}
if(Scr.CurrentDesk == t->desk)
{
+ XSync(dpy,0);
+ sleep_a_little(50000);
+ XSync(dpy,0);
if(t->flags & ICONIFIED)
XSetInputFocus (dpy, t->icon_w, RevertToParent, Event->xbutton.time)
;
else
--
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 Mar 11 1996 - 12:50:58 GMT