Re: Middle button click broken
Re: Middle button click broken
- Subject: Re: Middle button click broken
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 21 Apr 2010 08:16:09 -0700
Ok... This sounds very much like a pointer bounds issue. I bet if you had 'xinput test pointer' running in an xterm, you'd see some interesting x,y values (maybe 0,0?) when you clicked and saw the warp. Can you test that for me?
This is probably related to this commit in that we may need to force the clipping bounds somewhere else in the codebase. The root problem here is something I think will need to wait for XDS for me to get some face time with Peter.
commit 4c85c3815a6f1698e91d2043d51a716948f8c1df
Author: Jeremy Huddleston <email@hidden>
Date: Fri Mar 19 17:24:27 2010 -0700
XQuartz: Constrain the pointer to the updated display bounds on display reconfigure.
http://xquartz.macosforge.org/trac/ticket/346
(cherry picked from commit ed31d50b5f7f25e4db986711699704e615b8afcb)
On Apr 21, 2010, at 05:34, Mike Thornburg wrote:
> On Sun, 18 Apr 2010, Jeremy Huddleston wrote:
>
>> On Apr 18, 2010, at 10:06, Pierre Baguis wrote:
>>
>>> I tried to logout and it made no difference. Rebooting solved the issue.
>>>
>>> In the other machine where I installed XQuartz, not even a logout was necessary. Everything went smoothly and the update was applied right away.
>>
>> I suspect something else was going on outside of X11... the symptoms you were describing were very odd and not something a reboot would effect in X11.
>>
>> --Jeremy
>
> I've now reproduced something very similar to this problem, but I'm not sure it's exactly the same.
>
> I'm running MacOS X 10.5.8 with X11 2.5.0
>
> 1. Login as user A
> 2. User A starts X11
> 3. Login as user B using fast user switching (user A is still logged in)
> 4. User B starts X11
>
> At this point, when user B clicks the middle mouse button in the part of the xev window outside of the black box, instead of a button 2 event I get either a LeaveNotify event or no event at all. I can't seem to generate two LeaveNotify events in a row even if I click twice; there needs to be some other event in between. Buttons 1, 3, 4, and 5 all seem to work properly: I get ButtonPress/ButtonRelease events from them.
>
> Logging out of both users and then logging in again as user B fixes the problem.
>
> I don't think this is exactly the same problem I saw before. I could swear that I was only logged in as one user at that time, and I'm pretty sure I could generate multiple LeaveNotify events in a row by pressing the middle button again and again. But it does seem related.
>
> Mike
> --
> Mike Thornburg
> email@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden