summaryrefslogtreecommitdiffstats
path: root/src/plugins/accessible
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-03-22 17:31:57 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-24 09:15:00 +0100
commitd86e101d1bbee6865aa78f131a072e732e2136ae (patch)
treefee22f8501d366320bfe7e35cfa7567c2a6ea8e9 /src/plugins/accessible
parent9c6c7038ac7c492ec644f687612d780d3222bc56 (diff)
xcb: fix (negative) coordinate handling
For some reason, XCB accepts positions as unsigned integers, even though the X protocol explicitly allows negative values (windows overlapping the left/top screen border). After discussion with Samuel and Laszlo, use a reinterpret_cast to convert from the signed representation to the unsigned one. I also extended the clipping of the extents to the position. I guess if X can't handle widths beyond XCOORD_MAX, it won't be happy with x-coordinates exceeding that limit, either. Change-Id: I2fa0e61f823b6cd45dad6471eaa55f38bb3c3e52 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com> Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/plugins/accessible')
0 files changed, 0 insertions, 0 deletions