diff options
author | Martin Gräßlin <mgraesslin@kde.org> | 2015-03-17 18:41:07 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2015-03-22 17:11:47 +0100 |
commit | cf26479ece9ab9e04616bc10ba674d88a284e5b0 (patch) | |
tree | aaf151a996f9405dc88dfe0fa8e6f1e8aa4f83bc /configure.ac | |
parent | f03cc278c6cce0cf721adf9c3764d3c5fba63392 (diff) |
Perform safety check before trying to load glyph cursor
The passed in cursor name to xcb_cursor_load_cursor might not match
one of the predefined font cursor values. Without the check the
call to create glyph cursor will fail with a BadValue error, but
the library returns the id allocated for the xcb_cursor_t. A user
of the library gets a value which looks like a valid cursor, but
when using it for e.g. a cursor value in xcb_create_window it raises
a BadCursor error.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions