Summary: | REGION_INIT fails with NullBox | ||
---|---|---|---|
Product: | xorg | Reporter: | Tim Waugh <twaugh> |
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | mharris, roland.mainz |
Version: | 6.7.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Tim Waugh
2004-05-21 03:14:23 UTC
NULL_REGION() should work as it is defined to #define REGION_NULL(_pScreen, _pReg) \ { \ REGION_SCREEN(_pScreen); \ (_pReg)->extents = miEmptyBox; \ (_pReg)->data = &miEmptyData; \ } whenever REGION_INIT() is defined to: #define REGION_INIT(_pScreen, _pReg, _rect, _size) \ { \ REGION_SCREEN(_pScreen); \ (_pReg)->extents = *(_rect); \ (_pReg)->data = (RegDataPtr)NULL; \ } In the VNC code you have to replace REGION_INIT(..NullBox..) with REGION_NULL() however. I went thru this once already. Maybe I should make my fixes publically available. Thanks. I've figured out a patch and sent it to the VNC people. Sorry for the noise. |
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.