obs-vkcapture
obs-vkcapture copied to clipboard
Cursor not alligned on some windows
Looks like sometimes it aligned with wrong windows.
Chromium - not aligned Blender - aligned ClassiCube - aligned Minecraft 1.16.5 (java 11) - not aligned Minecraft 1.0 (java 8) - not aligned Counter Strike 1.6 - aligned mpv player - aligned
Are you on X11 or Wayland?
X11
So either it picks the wrong window id or the coords translation is not correct.
You can check if the window id is correct by comparing winid from here ctx->tdata.winid
https://github.com/nowrep/obs-vkcapture/blob/73c631e219f234baa3e4424cd3526eb0f3ffe2cb/src/vkcapture.c#L242-L250
and with the window id of the captured window (xwininfo
).
I use polymc to start minecraft (1.16.1). The cursor is only captured on the top left monitor.