🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #769

Bug in event-handling using twm.

#769
From: 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
Technical Details
Message-ID: <9845@charon.cwi.nl>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!noc.near.net!uunet!mcsun!sun4nl!cwi.nl!huub

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,611615fd9a092578,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-05-17 06:44:10 PST
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!noc.near.net!uunet!mcsun!sun4nl!cwi.nl!huub
From: huub@cwi.nl (Huub Bakker)
Newsgroups: gnu.epoch.misc
Subject: Bug in event-handling using twm.
Keywords: window managers, twm, events, bug.
Message-ID: <9845@charon.cwi.nl>
Date: 17 May 93 13:07:39 GMT
Sender: news@cwi.nl
Reply-To: Huub.Bakker@cwi.nl
Organization: CWI, Centre for Mathematics & Computer Science
Lines: 33