Re: [FFmpeg-devel] [PATCH 0/2] avdevice/x11grab: fix cursor drawing in multi-screen setup

2014-09-09 Thread Antonio Ospite
On Tue, 9 Sep 2014 05:32:36 +0200 Michael Niedermayer wrote: > On Mon, Sep 08, 2014 at 01:15:17PM +0200, Antonio Ospite wrote: > > Hi, > > > > with multi-screen setups x11grab does not behave in the correct way wrt. > > drawing the mouse cursor, e.g. when doing: >

[FFmpeg-devel] [PATCH 0/2] avdevice/x11grab: fix cursor drawing in multi-screen setup

2014-09-08 Thread Antonio Ospite
ual screen using the xserver-xorg-video-dummy driver if anybody is interested. Thanks, Antonio Antonio Ospite (2): avdevice/x11grab: rename the "w" Window to "root" in paint_mouse_pointer avdevice/x11grab: fix cursor drawing in multi-screen setup libavdevice/x11gra

[FFmpeg-devel] [PATCH 2/2] avdevice/x11grab: fix cursor drawing in multi-screen setup

2014-09-08 Thread Antonio Ospite
-i ":0.1") the cursor was being drawn in the captured image even when the mouse pointer was actually on screen 0, which is wrong and visually confusing. Use XQueryPointer to check that the pointer is actually on the screen which is being captured. Signed-off-by: Antonio Ospite --- l

[FFmpeg-devel] [PATCH 1/2] avdevice/x11grab: rename the "w" Window to "root" in paint_mouse_pointer

2014-09-08 Thread Antonio Ospite
This specifies better the meaning of the variable, and is also in preparation of a subsequent change which will introduce a temporary Window variable for which "w" is an good name. Signed-off-by: Antonio Ospite --- libavdevice/x11grab.c | 6 +++--- 1 file changed, 3 insertions(+), 3