IreneKnapp / oneko

An update of the classic digital kitten.
20 stars 6 forks source link

Broken on wayland #4

Open j0lol opened 1 year ago

j0lol commented 1 year ago

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 commented 1 year ago

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

IreneKnapp commented 1 year ago

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.