Summary: | Recent changes to git head break gnome-settings-daemon | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | François-Denis Gonthier <neumann> | ||||||||
Component: | Server/General | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | bgamari | ||||||||
Version: | git | ||||||||||
Hardware: | Other | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
François-Denis Gonthier
2009-06-20 20:05:54 UTC
Created attachment 26988 [details] [review] Ignores mappings of value 0 I have attached a patch which fixes the problem for me. It ignores mappings of value 0, just like BadDeviceMap did before the Xi2 merge. Changing the bug Component since the patch is on xserver since map is a CARD8 (unsigned char) and 0 is a valid value, wouldn't it be easier to just remove the check altogether? seems like checking an unsigned 8 bit value for values < 0 and > 255 is rather pointless :) Ah, it is quite obvious now that you say it :) can you resubmit the patch please so the authorship information is correct? I'll push it to master then. Thanks for the archive: bug uncovered by 280b7f92d729ec910ffa3d18dce7bbc215be7a3c Created attachment 27003 [details] [review] New patch removing entire check In the interest of moving things along, here's a patch to remove the entire check as Peter suggested. Seems to fix the issue on this side. That's a bit nitpicky, but I don't think errval_out is useful as a parameter anymore if you remove the check. Created attachment 27019 [details] [review] Another patch Very good point; missed that entirely. This patch removes the parameter as well. Considering this is now committed I guess we can call this closed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.