oneko icon indicating copy to clipboard operation
oneko copied to clipboard

Broken on wayland

Open j0lol opened this issue 2 years ago • 3 comments

This is a hard issue to solve, but oneko was built for X11 and can't see the mouse on wayland... I'm not sure if this type of program can work on wayland because it is designed to not let programs see each other.

j0lol avatar Jan 19 '23 22:01 j0lol

Seems possible via layer shell: https://wayland.app/protocols/wlr-layer-shell-unstable-v1#zwlr_layer_surface_v1:enum:keyboard_interactivity

j0lol avatar Jan 19 '23 22:01 j0lol

thanks! yeah I've been chewing on this for a while, I didn't realize layer-shell existed so I thought it might need a compositor extension. I know I didn't make it fully obvious from the repo home page but oneko is a very old program which I adopted because I believe it's important, and I am dedicated to carrying it into the future, but making it work on Wayland will definitely be a challenge.

IreneKnapp avatar Feb 01 '23 02:02 IreneKnapp

This is a hard issue to solve, but oneko was built for X11 and can't see the mouse on wayland... I'm not sure if this type of program can work on wayland because it is designed to not let programs see each other.

it seems to work right now if you drag oneko (click on it then move your mouse), but yeah it would be nice for it to automatically follow your cursor. Thanks for the cool project!

Henry-Hiles avatar Feb 09 '25 17:02 Henry-Hiles