mirror of https://git.ffmpeg.org/ffmpeg.git
69c34a6ac9
The code uses XFixes to retrieve the cursor coordinates, but XFixes gives no information of what 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. Use XQueryPointer to check that the pointer is actually on the screen which is being captured. Signed-off-by: Antonio Ospite <ao2@ao2.it> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
||
---|---|---|
.. | ||
Makefile | ||
alldevices.c | ||
alsa-audio-common.c | ||
alsa-audio-dec.c | ||
alsa-audio-enc.c | ||
alsa-audio.h | ||
avdevice.c | ||
avdevice.h | ||
avdeviceres.rc | ||
avfoundation.m | ||
bktr.c | ||
caca.c | ||
decklink_enc.cpp | ||
decklink_enc.h | ||
decklink_enc_c.c | ||
dshow.c | ||
dshow_capture.h | ||
dshow_common.c | ||
dshow_enummediatypes.c | ||
dshow_enumpins.c | ||
dshow_filter.c | ||
dshow_pin.c | ||
dv1394.c | ||
dv1394.h | ||
fbdev_common.c | ||
fbdev_common.h | ||
fbdev_dec.c | ||
fbdev_enc.c | ||
file_open.c | ||
gdigrab.c | ||
iec61883.c | ||
jack_audio.c | ||
lavfi.c | ||
libavdevice.v | ||
libcdio.c | ||
libdc1394.c | ||
openal-dec.c | ||
opengl_enc.c | ||
opengl_enc_shaders.h | ||
oss_audio.c | ||
oss_audio.h | ||
oss_audio_dec.c | ||
oss_audio_enc.c | ||
pulse_audio_common.c | ||
pulse_audio_common.h | ||
pulse_audio_dec.c | ||
pulse_audio_enc.c | ||
qtkit.m | ||
sdl.c | ||
sndio_common.c | ||
sndio_common.h | ||
sndio_dec.c | ||
sndio_enc.c | ||
timefilter.c | ||
timefilter.h | ||
v4l.c | ||
v4l2-common.c | ||
v4l2-common.h | ||
v4l2.c | ||
v4l2enc.c | ||
version.h | ||
vfwcap.c | ||
x11grab.c | ||
xv.c |