WayfireWM / wayfire

A modular and extensible wayland compositor
https://wayfire.org/
MIT License
2.41k stars 177 forks source link

Zoom in, mouse shrinks. #1380

Open IngwiePhoenix opened 2 years ago

IngwiePhoenix commented 2 years ago

Describe the bug Even after applying a bigger size to my mouse, it always becomes a teensy tiny dot when I zoom in on my desktop. Often times, I am left guessing where it went or zoom out entirely to find it again. Because sometimes, the mouse seems to actually shrink.

To Reproduce Steps to reproduce the behavior:

  1. Enable plugin zoom
  2. Do zoom in
  3. Cursor does not zoom - and sometimes it even shrinks.

Expected behavior I expected the zoom to either keep the incrased pointer size, or even zoom it in, which I wouldn't mind either.

Screenshots or stacktrace After waking my MacBook from sleep and zooming in and out whilst pointing my phone at it didn't make it shrink the cursor. I guess it felt like behaving... Anyway, this is what it looks like zoomed in. Its smol. smol dot

Wayfire version 0.7.2, package via chaotic-aur on Garuda

ammen99 commented 7 months ago

To make the cursor focus also become larger with zoom, we need to force wlroots to use software cursors (there are existing APIs for that). PRs welcome.