dwl icon indicating copy to clipboard operation
dwl copied to clipboard

Cursor not visible on external monitor until window is created

Open BenJarg opened this issue 2 years ago • 9 comments

Info

dwl version: 797e0c74b2cbf4a49f83c9269abec06f3293d00c wlroots version: 0.16.2

Description

I've noticed this for a while, although it's not consistent. It's common when I first plug in my external monitor, then move the cursor to the external monitor, the cursor is at first not visible. When I open the first window on the external monitor, the cursor then becomes visible.

BenJarg avatar May 04 '23 20:05 BenJarg

Can you check #416?

sevz17 avatar May 08 '23 02:05 sevz17

@sevz17 I got the issue again today, with #416 applied.

BenJarg avatar May 12 '23 16:05 BenJarg

Does the external monitor have different scale?

sevz17 avatar May 12 '23 22:05 sevz17

@sevz17 No, both are set to the default scale (1).

BenJarg avatar May 12 '23 22:05 BenJarg

I think it's related to this issue https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2119

sevz17 avatar Jun 23 '23 18:06 sevz17

@BenJarg, do you think you could test if this happens in wlroots-next?

sevz17 avatar Nov 20 '23 04:11 sevz17

@sevz17 Sure, I'm running on wlroots-next currently. I haven't seen it in a while, even since before moving to wlroots-next, and I believe the change that made this stop happening was setting WLR_DRM_NO_ATOMIC=1 which reverts to some legacy drm behavior. I've removed that now though from my environment, and I'll give it ~a week and then let you know if I see it return or not for wlroots-next.

BenJarg avatar Nov 20 '23 17:11 BenJarg

@sevz17 I had it happen again with wlroots-next once I removed WLR_DRM_NO_ATOMIC=1.

BenJarg avatar Nov 24 '23 03:11 BenJarg

I see...

Can you send the stderr of dwl -d?

EDIT: Since I'll be doing the migration to Codeberg tomorrow... can you wait until then?

sevz17 avatar Nov 24 '23 04:11 sevz17