lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
963 stars 39 forks source link

Cursor types and `cursor-shape-v1` support #113

Closed alebastr closed 9 months ago

alebastr commented 9 months ago

Also fixes #105


With that in place, I was prepared to tackle the final boss, fractional-scale-v1... but my holiday time off has ended. I'll try to finish it in the next few weeks, but no promises.

lbonn commented 9 months ago

@alebastr Thanks for looking into this :)!

One thing though, I have tried with two cursors of different sizes and they both get resized to the value of $XCURSOR_SIZE when hovering over rofi. But I guess it's another existing issue?

alebastr commented 9 months ago

One thing though, I have tried with two cursors of different sizes and they both get resized to the value of $XCURSOR_SIZE when hovering over rofi. But I guess it's another existing issue?

This works for me with https://github.com/swaywm/sway/commit/2bba8a861885d770d1cd081ec22567e4de5e991a (branch v1.9) and different cursor sizes per seat (seat seat1 xcursor_theme default 36).

With client-rendered cursors, it's an expected behavior to have the same theme/size for all the seats (inherited from the default seat0 at least in Sway), as there's no standard way to pass a per-seat configuration from the compositor. You can check if the cursor-shape-v1 protocol is used with WAYLAND_DEBUG.

lbonn commented 9 months ago

Ah well ok :grin:

Thanks!