aboutsummaryrefslogtreecommitdiff
path: root/backend/session
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2021-02-06 16:15:46 -0500
committerSimon Ser <contact@emersion.fr>2021-03-09 22:27:07 +0100
commit10dbb00f5ffe0f598e52e0e839a5f145822d03d7 (patch)
treeac8b06ed3073a5cf5811d3dc623b8a455ccc3049 /backend/session
parent7dffe9339bf8a92a556098d86712c4c38ac95226 (diff)
backend/x11: clamp hotspot to texture bounds
When a new texture is set, the hotspot may actually belong to the previous texture and be out of bounds. Rather than incur X errors for these, clamp the hotspot to be inside of the texture. This fixes weston examples updating their cursors (e.g. weston-eventdemo).
Diffstat (limited to 'backend/session')
0 files changed, 0 insertions, 0 deletions