x11: Only update cursors if we have any
We were accessing an on-demand created hash table without checking if it had been created first.
Fixes: #2308 (closed)
We were accessing an on-demand created hash table without checking if it had been created first.
Fixes: #2308 (closed)