win-capture: Don't draw cursor if outside area

This commit is contained in:
jp9000
2014-12-31 23:58:41 -08:00
parent d6e98829ca
commit d3abdf39a2
3 changed files with 13 additions and 6 deletions

View File

@@ -13,5 +13,5 @@ struct cursor_data {
extern void cursor_capture(struct cursor_data *data);
extern void cursor_draw(struct cursor_data *data, long x_offset, long y_offset,
float x_scale, float y_scale);
float x_scale, float y_scale, long width, long height);
extern void cursor_data_free(struct cursor_data *data);