From f7168c8684e7c05cb66307f11ea79e93a8b539ab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 10 Apr 2010 13:12:14 +0200 Subject: events.c: Make pointer warping work for zoomed images --- src/winwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/winwidget.h') diff --git a/src/winwidget.h b/src/winwidget.h index 47ebfcc..dd24f8f 100644 --- a/src/winwidget.h +++ b/src/winwidget.h @@ -100,7 +100,7 @@ struct __winwidget { /* New stuff */ int im_x; /* image offset from window top left */ int im_y; /* image offset from window top left */ - double zoom; /* From 0 (not visible) to 100 (actual size) + double zoom; /* From 0 (not visible) to 1.00 (actual size) all the way up to INT_MAX (ouch) */ int click_offset_x; int click_offset_y; -- cgit v1.2.3