summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.c
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2014-09-26 00:44:17 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-10-04 23:46:46 +0200
commit2a5ac99e6e06078713f684fee2466c91f677b303 (patch)
treef5c5d5d877962cecee78612ab0ab260ac2d645e0 /libavcodec/vdpau.c
parent5b9c817dc7577b6d44acc94d73b9c77c52cda489 (diff)
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/vdpau.c')
0 files changed, 0 insertions, 0 deletions