diff options
author | Daniel Moran <dijumx@gmail.com> | 2015-02-03 22:57:49 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-02-15 18:20:54 +0100 |
commit | 51ca3cb604a7585a7cff35d4b954794508955c19 (patch) | |
tree | c7a8226cd2cc39b483adb406c7501a1bd28d8365 | |
parent | e1a57cbb1c2752feb9315f748836dc44e58d2dc6 (diff) | |
download | ffmpeg-51ca3cb604a7585a7cff35d4b954794508955c19.tar.gz |
xcbgrab: Use the correct geometry for the region highlight
The feature is implemented using a transparent window and drawing
inside it a rectangle filling the whole window to highlight it.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavdevice/xcbgrab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 23969c9752..57450f24a8 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -566,7 +566,7 @@ static void setup_window(AVFormatContext *s) uint32_t values[] = { 1, XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_STRUCTURE_NOTIFY }; - xcb_rectangle_t rect = { c->x, c->y, c->width, c->height }; + xcb_rectangle_t rect = { 0, 0, c->width, c->height }; c->window = xcb_generate_id(c->conn); |