Sebastian Keller f76cacd154 backends/x11: Only free cursor if it was created successfully
XcursorLibraryLoadCursor can return 'None' if the current cursor theme
is missing the requested icon. If XFreeCursor is then called on this
cursor, it generates a BadCursor error causing gnome-shell to crash.

Fixes https://gitlab.gnome.org/GNOME/mutter/issues/254

(cherry picked from commit 1bfa20929b36d06cc23667d1122175149615b56d)
2018-08-29 20:40:39 -05:00
2015-07-06 00:52:18 -07:00
2018-04-10 17:58:12 +02:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2018-07-18 23:12:51 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-07-18 23:12:51 +02:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%