🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1858

Should motion events arrive when mouse buttons are up?

#1858
From: Brian L. Kahn
Date: Fri, 31 May 1991 12:31
19 lines
1528 bytes
I use motion events to implement a drag-selection of text.  Using the
XSun server from the X11 distribution, I only get motion events when
the mouse buttons are held down.  I figured that epoch was filtering
out the motion hints when the buttons are up, or that the server was
only asked to relay them when the buttons are down.

However, I recently tried to run epoch under the Sun4.1.1 Openwindows
server, which supports OpenLook.  I wasn't using the olwm window
manager, just the openwindows server.  I got motion events all the
time, and my routines all broke.

Which server is correct (according to X docs), the X11 distribution or
Sun openwindows?  I can imagine cases where I would want the motion
hints when the buttons are up, so I don't think epoch should make this
choice.  Is the X11 XSun server broken?

--
B<   Brian Kahn   blk@security.mitre.org   "may the farce be with you"
Technical Details
Message-ID: <BLK.91May31143111@vanity.mitre.org>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!agate!linus!linus!news!mbunix!blk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,41f25e108ef71ab0,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-05-31 13:51:28 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!agate!linus!linus!news!mbunix!blk
From: blk@mitre.org (Brian L. Kahn)
Newsgroups: gnu.epoch.misc
Subject: Should motion events arrive when mouse buttons are up?
Message-ID: <BLK.91May31143111@vanity.mitre.org>
Date: 31 May 91 12:31:11 GMT
Sender: news@linus.mitre.org (News Service)
Distribution: gnu
Organization: The MITRE Corp. Bedford, MA
Lines: 19
Nntp-Posting-Host: vanity.mitre.org