glreno / oneko

The ever popular kitty-that-follows-your-mouse-pointer
The Unlicense
60 stars 9 forks source link

Does not follow mouse unless VScode is open. #12

Open HannauwLaing opened 1 month ago

HannauwLaing commented 1 month ago

The cat stops tracking the mouse when VScode is not open and goes to the last position of the mouse when VScode is closed

I don't know if this helps but this is what I did: I downloaded oneko through the sudo apt install but I wanted it on another pc where I did not have sudo privileges so I also got the executable file of oneko to copy it over.

At some point I realized the cat no longer follows my mouse on my pc, so I tried looking at the code but then the cat started following the mouse again the moment I opened VScode and stops tracking my mouse the moment I close it.

I have version 22.04 ubuntu installed.

Jcodefox commented 2 weeks ago

Oneko is built for X11. If you are running on Wayland then the cat will only chase the mouse when it is over programs made for X11 that are running through XWayland, such as VScode. And if your mouse isn't in an XWayland window then the cat goes to the last place it saw the mouse in an XWayland program.