lbonn / rofi

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

[BUG] Rofi uses old cursor theme when switching to another one #94

Closed Ehllay closed 8 months ago

Ehllay commented 9 months ago

Rofi version (rofi -v or git commit in case of build issue)

Version: 1.7.5

Configuration

https://gist.github.com/Ehllay/5f3f20d80eb3b73dc85f231e1dec3d86

Theme

https://gist.github.com/Ehllay/6f0b47c6b3437e5cfdef6d78b55f31f0

Timing report

https://gist.github.com/Ehllay/91f72479e8f92befb779d1cdf94dd7d0

Launch command

rofi -show drun

Step to reproduce

Step 1: Change your mouse cursor theme to a different one (I use Hyprland, so the command for changing it is hyprctl setcursor [cursor-theme] [size] ) Step 2: Launch rofi with any command

Expected behavior

Rofi uses the new cursor theme

Actual behavior

When rofi is launched, the cursor is still using the theme used before changing

Additional information

I'm on Hyprland, so it might be a specific Hyprland issue.

I don't know if Rofi uses the GTK cursor, but even if it is the same one as the Hyprland one, it still uses the old one

Using wayland display server protocol

I've checked if the issue exists in the latest stable release

Ehllay commented 8 months ago

Found out the cause, gtk cursor wasn't set properly. Closing since this is not rofi's fault