nonnymoose / xsr

X Steps Recorder
MIT License
80 stars 17 forks source link

Cursor not shown in image if capturing focused window #96

Open ermshiperete opened 6 years ago

ermshiperete commented 6 years ago

If we capture only the focused window the cursor is not shown on the picture. This is because we don't position it relative to the focused window, so it'll usually be outside of the picture.

lezsakdomi commented 6 years ago

Thank you for the report!

I'm marking it as technical challenge, since it seems hard to get the position of the foremost window.

ermshiperete commented 6 years ago

This stackoverflow answer might give some ideas: https://unix.stackexchange.com/a/14170

lezsakdomi commented 6 years ago

Sorry, the problem is that we need to restructure the code to fix it :confused: