Open Letiliel opened 2 months ago
I was able to test and confirm the misplacement issue, but not the glitch. Are you using Wayland? For some reason, the coordinates reported by xdotool are incorrect when using Linux Mint. I’ll try to find a better method to get the window coordinates.
In the meantime, you can try the following:
Thank you
For windows coordinates, you could use xwininfo -id
which seems to provide accurate absolute coordinates, except that it doesn't include window decorations. You can get the size of the latter with xprop -id <window_id> _NET_FRAME_EXTENTS
.
Fixing that might also fix the glitch, as it seems that the mouse itself is being offset, or that you're using offset coordinates to trigger a hover event. Something like that?
PS: not using Wayland
YomiNinja looks like exactly what I need, but I'm having several breaking issues:
I would like to sponsor fixes for these. Or at least the first one which is the only one really preventing me to use your app. If you're interested, let's discuss
https://github.com/matt-m-o/YomiNinja/assets/4447503/379bee4b-6236-4eee-be99-52a88f1f9106
I tried changing various options and disabling extensions.