diff options
author | Antonio Ospite <ao2@ao2.it> | 2014-09-26 00:44:17 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-10-04 23:46:46 +0200 |
commit | 2a5ac99e6e06078713f684fee2466c91f677b303 (patch) | |
tree | f5c5d5d877962cecee78612ab0ab260ac2d645e0 /libavcodec/binkdata.h | |
parent | 5b9c817dc7577b6d44acc94d73b9c77c52cda489 (diff) | |
download | ffmpeg-2a5ac99e6e06078713f684fee2466c91f677b303.tar.gz |
x11grab: Check the XQueryPointer return value
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: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/binkdata.h')
0 files changed, 0 insertions, 0 deletions