Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146840 Details for
Bug 194055
x11-drivers/xf86-input-mouse: VT switch generates middle click
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from upstream fixing this
1.2.3-dont-paste-on-vt-switch.patch (text/plain), 1.22 KB, created by
Gautam Iyer
on 2008-03-22 06:03:28 UTC
(
hide
)
Description:
Patch from upstream fixing this
Filename:
MIME Type:
Creator:
Gautam Iyer
Created:
2008-03-22 06:03:28 UTC
Size:
1.22 KB
patch
obsolete
>From: Peter Hutterer <peter@cs.unisa.edu.au> >Date: Fri, 16 Nov 2007 06:15:45 +0000 (+1030) >Subject: Bug #13144: Don't flush buttons, release events can cause paste events. >X-Git-Tag: xf86-input-mouse-1.3.0 >X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-input-mouse.git;a=commitdiff;h=6a03e8bd9699a33dabcdd2bbcf51a001ddfd5534 > >Bug #13144: Don't flush buttons, release events can cause paste events. >--- > >--- a/src/mouse.c >+++ b/src/mouse.c >@@ -1853,26 +1853,17 @@ MouseConvert(InputInfoPtr pInfo, int fir > > /********************************************************************** > * >- * FlushButtons -- send button up events for sanity. >+ * FlushButtons -- reset button states. > * > **********************************************************************/ > > static void > FlushButtons(MouseDevPtr pMse) > { >- >- /* If no button down is pending xf86PostButtonEvent() >- * will discard them. So we are on the safe side. */ >- > int i, blocked; > > pMse->lastButtons = 0; > pMse->lastMappedButtons = 0; >- >- blocked = xf86BlockSIGIO (); >- for (i = 1; i <= 5; i++) >- xf86PostButtonEvent(pMse->device,0,i,0,0,0); >- xf86UnblockSIGIO (blocked); > } > > /**********************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194055
:
132061
|
135490
|
135492
| 146840 |
146841