gstreamer/sys/ximage
Antonio Ospite 3705f08bad ximagesrc: Fix drawing the cursor when it is outside the capturing region
When the cursor is partially or totally out of the capturing region on
the top side or on the left side, it gets drawn fully inside of the
region with its coordinates rounded up to the left or to the top border.

This is immediately noticeable when using the xid property to capture
a specific window.

To fix the issue, allow negative cx and cx coordinates when checking the
boundaries before drawing the cursor.

NOTE that the boundaries checking calculations still allows the cursor
to be drawn when it is only partially outside of the capturing region,
but this makes sense and gives a more pleasing visual behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=690646
2014-09-16 10:32:33 +03:00
..
gstximagesrc.c ximagesrc: Fix drawing the cursor when it is outside the capturing region 2014-09-16 10:32:33 +03:00
gstximagesrc.h ximagesrc: Fix the destination coordinates of the cursor 2014-09-16 10:32:22 +03:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:54:11 +02:00
ximageutil.c ximagesrc: Fix warning about missing return value 2014-07-31 09:53:53 -04:00
ximageutil.h ximagesrc: Add missing return value to Buffer dispose function 2014-07-31 09:14:10 -04:00