gtk: Remove coordinates double-translation
authorBastien Nocera <hadess@hadess.net>
Wed, 5 May 2021 14:48:10 +0000 (16:48 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 6 May 2021 01:18:18 +0000 (01:18 +0000)
commit04fdfc4bf112ac782a19b279ec4fe1bd7f4e0213
tree371ac1ba7c3c153e0a038382560f34cc69958148
parent9cd6d02cfff5239e672c7b83f349dd47b5396e72
gtk: Remove coordinates double-translation

Remove our own translation in the mouse event capture code, as that
translation will be done through the navigation interface.

Tested by resizing the window created by:
gst-launch-1.0 -v videotestsrc ! navigationtest ! glupload ! glcolorconvert ! tee name=t  ! gtkglsink
and checking that the cursor follows the mouse as expected.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/974>
ext/gtk/gtkgstbasewidget.c