Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 152067 Details for
Bug 214233
Update of xorg-server-1.4 ebuild fixing a crash on startup, and wacom resolution issue
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from upstream (git)
1.4-magnus-5-Move-motion-history-update-until-after-screen-crossing-and-clipping.patch (text/plain), 1.76 KB, created by
Gautam Iyer
on 2008-05-06 07:03:30 UTC
(
hide
)
Description:
Patch from upstream (git)
Filename:
MIME Type:
Creator:
Gautam Iyer
Created:
2008-05-06 07:03:30 UTC
Size:
1.76 KB
patch
obsolete
>From: Magnus Vigerlöf <Magnus.Vigerlof@ipbo.se> >Date: Sat, 2 Feb 2008 22:04:46 +0000 (+0100) >Subject: dix: Move motion history update until after screen crossing and clipping >X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=a56ef7aaa4b6ac13c8181f68fc7dad3ca89e6973 > >dix: Move motion history update until after screen crossing and clipping > >Cross screen and clip the coordinates before updating the motion history >so that it will have the same contents as the events that are reported. >--- > >--- a/dix/getevents.c >+++ b/dix/getevents.c >@@ -667,15 +667,6 @@ GetPointerEvents(xEvent *events, DeviceI > } > } > >- /* Drop x and y back into the valuators list, if they were originally >- * present. */ >- if (first_valuator == 0 && num_valuators >= 1) >- valuators[0] = x; >- if (first_valuator <= 1 && num_valuators >= (2 - first_valuator)) >- valuators[1 - first_valuator] = y; >- >- updateMotionHistory(pDev, ms, first_valuator, num_valuators, valuators); >- > pDev->valuator->lastx = x; > pDev->valuator->lasty = y; > /* Convert the dev coord back to screen coord if we're >@@ -721,6 +712,15 @@ GetPointerEvents(xEvent *events, DeviceI > cp->valuator->lasty = y; > } > >+ /* Drop x and y back into the valuators list, if they were originally >+ * present. */ >+ if (first_valuator == 0 && num_valuators >= 1) >+ valuators[0] = pDev->valuator->lastx; >+ if (first_valuator <= 1 && num_valuators >= (2 - first_valuator)) >+ valuators[1 - first_valuator] = pDev->valuator->lasty; >+ >+ updateMotionHistory(pDev, ms, first_valuator, num_valuators, valuators); >+ > /* for some reason inputInfo.pointer does not have coreEvents set */ > if (coreOnly || pDev->coreEvents) { > events->u.u.type = type; >
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 214233
:
146863
|
146864
|
146949
|
146951
|
146971
|
152057
|
152059
|
152061
|
152063
|
152065
| 152067