[vlc-devel] [PATCH v5 00/24] Get rid of the control command API

Rémi Denis-Courmont remi at remlab.net
Mon Aug 24 16:01:04 CEST 2020


Le maanantaina 24. elokuuta 2020, 10.41.41 EEST Steve Lhomme a écrit :
> Changes since v4:
> - split the "mouse-moved" variables in 2 versions: one in video area
> coordinates one in original video coordinates.

We never did that because it is utterly pointless.

By definition, the window coordinates can only mean anything in the window 
provider. And the window provider already knows those values, needs not have 
core callbacks to receive its own events.

As the obvious example, if you want to draw something where the pointer is, 
you will either need:
- the window handle and the coordinates relative to the window (if compositing 
is involved, this won't even match the video area coordinates), or
- absolute coordinates (relative to root window).

-1

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list