mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vaapisink: fix GstNavigation "mouse-move" event.
Really use the motion event coordinates to propagate the "mouse-move" event to upper layer, instead of those from a button event. Those are technically the same though.
This commit is contained in:
parent
33212d9634
commit
039244bf77
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ gst_vaapisink_x11_handle_events (GstVaapiSink * sink)
|
|||
if (pointer_moved) {
|
||||
gst_vaapi_display_lock (display);
|
||||
gst_navigation_send_mouse_event (GST_NAVIGATION (sink),
|
||||
"mouse-move", 0, e.xbutton.x, e.xbutton.y);
|
||||
"mouse-move", 0, pointer_x, pointer_y);
|
||||
gst_vaapi_display_unlock (display);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue