6a796675bd
For windows, the cursor location needs to be adjusted by the frame offsets. However we cannot assume that there is a window, as the shell itself can have the key focus. https://gitlab.gnome.org/GNOME/gnome-shell/issues/414 (cherry picked from commit 0dee82fb9fa974ebdb4dd77fd85535a6edf207fd)