Skip to content

[3.38] screen-cast: Fix segfault when drawing cursor

Jonas Ådahl requested to merge cherry-pick-efb577ef into gnome-3-38

Add a sanity check if the cursor is on screen and cursor texture data is available. This prevents a potential segfault when trying to access non-existing texture data.

Closes: #1446 (closed) Part-of: !1604 (merged)

(cherry picked from commit efb577ef)

Merge request reports