diff options
author | Antonio Ospite <[email protected]> | 2014-09-26 00:44:17 +0200 |
---|---|---|
committer | Luca Barbato <[email protected]> | 2014-10-04 23:46:46 +0200 |
commit | 2a5ac99e6e06078713f684fee2466c91f677b303 (patch) | |
tree | f5c5d5d877962cecee78612ab0ab260ac2d645e0 /libavcodec/arm/videodsp_init_arm.c | |
parent | 5b9c817dc7577b6d44acc94d73b9c77c52cda489 (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: [email protected]
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavcodec/arm/videodsp_init_arm.c')
0 files changed, 0 insertions, 0 deletions