9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9port, acme, spurious MotionNotify events problem
@ 2011-10-24 13:48 Gary Capell
  2011-11-03 14:27 ` Gary Capell
  2011-11-03 16:13 ` Skip Tavakkolian
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Capell @ 2011-10-24 13:48 UTC (permalink / raw)
  To: 9fans

I've recently noticed that scrolling in Acme (plan9port, linux) was
working strangely. xev shows that I'm now getting two MotionNotify
events after every button press.  Acme then scrolls further than I
want (hitting b1 or b3 in scroll bar).

Has anyone else seen this and is there an easy fix?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] plan9port, acme, spurious MotionNotify events problem
  2011-10-24 13:48 [9fans] plan9port, acme, spurious MotionNotify events problem Gary Capell
@ 2011-11-03 14:27 ` Gary Capell
  2011-11-03 16:13 ` Skip Tavakkolian
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Capell @ 2011-11-03 14:27 UTC (permalink / raw)
  To: 9fans

In case anyone else runs into the same problem, I worked around it by changing scrsleep() in acme/scrl.c to ignore mouse events which don't change the mouse buttons.  This has the (IMO desirable) side-effect of avoiding extra scrolling if you wiggle the mouse a bit while clicking.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] plan9port, acme, spurious MotionNotify events problem
  2011-10-24 13:48 [9fans] plan9port, acme, spurious MotionNotify events problem Gary Capell
  2011-11-03 14:27 ` Gary Capell
@ 2011-11-03 16:13 ` Skip Tavakkolian
  1 sibling, 0 replies; 3+ messages in thread
From: Skip Tavakkolian @ 2011-11-03 16:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I have seen something like this with Plan 9 in VMWare; I'm not sure if
this is related.

On Mon, Oct 24, 2011 at 6:48 AM, Gary Capell <gary.capell@gmail.com> wrote:
> I've recently noticed that scrolling in Acme (plan9port, linux) was
> working strangely. xev shows that I'm now getting two MotionNotify
> events after every button press.  Acme then scrolls further than I
> want (hitting b1 or b3 in scroll bar).
>
> Has anyone else seen this and is there an easy fix?
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-03 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24 13:48 [9fans] plan9port, acme, spurious MotionNotify events problem Gary Capell
2011-11-03 14:27 ` Gary Capell
2011-11-03 16:13 ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).