summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rmd_get_frames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmd_get_frames.c b/src/rmd_get_frames.c
index 65f086f..3a3fc2e 100644
--- a/src/rmd_get_frames.c
+++ b/src/rmd_get_frames.c
@@ -563,8 +563,8 @@ void *rmdGetFrames(ProgData *pdata)
if (pdata->args.follow_mouse) {
rmdMoveCaptureArea( &pdata->brwin.rrect,
- mouse_pos_abs.x + pdata->args.xfixes_cursor ? xcim->xhot : 0,
- mouse_pos_abs.y + pdata->args.xfixes_cursor ? xcim->yhot : 0,
+ mouse_pos_abs.x + (pdata->args.xfixes_cursor ? xcim->xhot : 0),
+ mouse_pos_abs.y + (pdata->args.xfixes_cursor ? xcim->yhot : 0),
pdata->specs.width,
pdata->specs.height);
© All Rights Reserved