diff options
Diffstat (limited to 'src/rmd_get_frames.c')
-rw-r--r-- | src/rmd_get_frames.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rmd_get_frames.c b/src/rmd_get_frames.c index 3a3fc2e..2b442b5 100644 --- a/src/rmd_get_frames.c +++ b/src/rmd_get_frames.c @@ -204,10 +204,8 @@ static void rmdMoveCaptureArea( XRectangle *rect, int t_x = 0, t_y = 0; t_x = cursor_x - rect->width / 2; - t_x = (t_x >> 1) << 1; rect->x = (t_x < 0) ? 0 : ((t_x + rect->width > width) ? width - rect->width : t_x); t_y = cursor_y - rect->height / 2; - t_y = (t_y >> 1) << 1; rect->y = (t_y < 0 ) ? 0 : ((t_y + rect->height > height) ? height - rect->height : t_y); } |