mate-desktop / mate-applets

Applets for use with the MATE panel
http://www.mate-desktop.org
GNU General Public License v2.0
79 stars 67 forks source link

geyes: consider the offset widget <-> window #621

Closed kreijack closed 2 years ago

kreijack commented 2 years ago

Problem: when the mouse pointer is between two eyes, the left one is correct oriented; however the right one is wrongly oriented

image

I discovered that this is due to the fact that it is not computed the offset between the single eye widget and their parent window.

Correct views: image image image image

To compute the correct pupil position, we should consider the offset between the eye widget and their parent window.

Signed-off-by: Goffredo Baroncelli kreijack@inwind.it

kreijack commented 2 years ago

Great !! Do you want that I send an updated patch to solve the formatting issue ?

rbuj commented 2 years ago

You don't need to make a new merge request. You can modify the file and upload the changes to the current commit.

raveit65 commented 2 years ago

Thank you

raveit65 commented 2 years ago

I will consider this as a bug fix and push it to 1.26 branch.