wlroots: https://github.com/swaywm/wlroots/commit/20d404a091fa92f56be4825bbaf89e4027fda154
sway: ec5da0ca5bad6a433f727499d68ac1352397f5aa
Not sure if this is a problem with sway, or not. But, I'm now using sway on multiple systems, with the same software setup.
Everything is working fine on all systems except one, where the mouse cursor keeps disappearing. It seems its position is correctly tracked though, because e.g. hover effects in browsers work, focus-follows-mouse works and so, on. It's just that the cursor itself is invisible.
The cursor is usually invisible right from the start, before any windows have been opened. Then, if I move it between windows, it will sometimes become visible. When that happens, it stays visible until moved to another window.
The sway debug log doesn't contain any obvious error messages, except these:
2019-02-07 21:22:15 - [sway/input/cursor.c:1132] denying request to set cursor from unfocused client
and
glamor: No eglstream capable devices found
The main difference between the non-working system and the working ones are that the non-working one has an nvidia card (with nouveau), while the others are intel based.
I have the same issue: Quadro 3000m + nouveau, Linux 4.20, Manjaro.
Edit: setting WLR_NO_HARDWARE_CURSORS=1 env. variable fixes it
This is probably established fact by now, but just wanted to let you know that https://github.com/swaywm/wlroots/pull/1537 (which I found through https://github.com/swaywm/wlroots/pull/1526) works for me too.
I have an Ivy Bridge CPU/gpu and I also had this problem, with cursor disappearing.
WLR_NO_HARDWARE_CURSORS fixed it but surely this bug ought to have a better fix?
Most helpful comment
I have the same issue:
Quadro 3000m + nouveau,Linux 4.20, Manjaro.Edit: setting
WLR_NO_HARDWARE_CURSORS=1env. variable fixes it