aesophor / wmderland

🌳 X11 tiling window manager using space partitioning trees
https://www.reddit.com/r/unixporn/comments/fb8ve1/wmderland_104_time_to_move_on/
MIT License
409 stars 15 forks source link

Initializing the cursor look #45

Closed takagiy closed 4 years ago

takagiy commented 4 years ago

I switched my display manager from sddm to ly. After that, I had a problem in my desktop: The cursor looks strange to me, it was an X mark. After the wm calls Mouse::SetCursor(), the cursor shape turns into the normal arrow shape. According to the archwiki, it happens because the wm doesn't initialize the cursor if my understanding is correct. However, I don't know why it doesn't occur while I was using sddm. I edited the config referring the archwiki's article and the problem was fixed. If this behavior is not intended, the wm may be able to initialize the cursor shape at the start to fix it.

Expected Behavior

The mouse cursor always looks normal such as an arrow.

Current Behavior

The mouse cursor looks an unfamiliar X shape if it is not on any windows.

Steps to Reproduce

Environment

version: 1.0.5 dm: ly 0.5.0

Related Informations

herbstluftwm's related implementation

Thank you!

takagiy commented 4 years ago

Oops, I posted the draft by mistake. I'm Sorry. Closing this temporarily.

aesophor commented 4 years ago

In 0e5122a9d446608b7d0760067377a6c6ee357e78, I added the Mouse class but forgot to initialize the cursor look to CURSOR_NORMAL.

Could you please confirm if it has been fixed in the latest commit?

takagiy commented 4 years ago

The latest master works fine. Thank you for fixing.

aesophor commented 4 years ago

Thank you so much for your support! If there's anything else, please let me know.