🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Huub Bakker Mon, 17 May 1993 13:07
Bug in event-handling using twm.
#769
Author: Huub Bakker
Date: Mon, 17 May 1993 13:07
33 lines
1756 bytes
Hello Epoch-world,

We observed the following strange behaviour using Epoch with the twm
window manager on a Silicon Graphics Iris 4000 machine running IRIX 4.0.5 F.

Using:

(setq *select-screen-hook* 'call-upon-screen-entrance)

we print a message using send-string-to-terminal each time the mouse enters an
Epoch screen. It works fine, but fails if:

1) we use twm (vtwm, mwm and 4Dwm do not give any problems) and,
2) we drag the mouse "quickly" into the Epoch screens X-window. 

In this case the call-upon-screen-entrance function is called twice. As far as
we can see (using xev) the X-server sends only one EnterWindow event to Epoch.
After this the internal state about window focus and current-screen of Epoch
is lost. From now on the call-upon-screen-entrance functions is only called
when the mouse is dragged "quickly" and allways is called two times. 

Does anybody know what's wrong here? 

Greetings, Huub.

P.S.: We do have the same bug on Sun SparcStation running SunOS 4.1.2. 
      using twm.

-- 
CWI, P.O. Box 4079 			Huub Bakker (huub@cwi.nl)
1009 AB Amsterdam
The Netherlands
Tel. 31 20 5924080
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads