• Antonio Ospite's avatar
    x11grab: Check the XQueryPointer return value · 2a5ac99e
    Antonio Ospite authored
    The paint_mouse_pointer() code uses XFixes to retrieve the cursor
    coordinates, but XFixes gives no information about which screen the
    pointer is on; this results in always drawing the cursor on the
    captured screen even if the mouse pointer was on another screen.
    
    For example, when capturing from screen 1 (i.e. -f x11grab -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.
    
    CC: libav-stable@libav.org
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    2a5ac99e
Name
Last commit
Last update
..
Makefile Loading commit data...
alldevices.c Loading commit data...
alsa-audio-common.c Loading commit data...
alsa-audio-dec.c Loading commit data...
alsa-audio-enc.c Loading commit data...
alsa-audio.h Loading commit data...
avdevice.c Loading commit data...
avdevice.h Loading commit data...
bktr.c Loading commit data...
dv1394.c Loading commit data...
dv1394.h Loading commit data...
fbdev.c Loading commit data...
file_open.c Loading commit data...
jack_audio.c Loading commit data...
libavdevice.v Loading commit data...
libcdio.c Loading commit data...
libdc1394.c Loading commit data...
oss_audio.c Loading commit data...
oss_audio.h Loading commit data...
oss_audio_dec.c Loading commit data...
oss_audio_enc.c Loading commit data...
pulse.c Loading commit data...
sndio_common.c Loading commit data...
sndio_common.h Loading commit data...
sndio_dec.c Loading commit data...
sndio_enc.c Loading commit data...
timefilter.c Loading commit data...
timefilter.h Loading commit data...
v4l2.c Loading commit data...
version.h Loading commit data...
vfwcap.c Loading commit data...
x11grab.c Loading commit data...