summaryrefslogtreecommitdiff
path: root/src/winwidget.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-04-10 13:12:14 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-04-10 13:13:36 +0200
commitf7168c8684e7c05cb66307f11ea79e93a8b539ab (patch)
treed5fa20e9f7f6bd4b0c58be5d1c3f86ef2cf65fd0 /src/winwidget.h
parent1657b7cedc9021a0b641ba6422bd6d4d3a795246 (diff)
events.c: Make pointer warping work for zoomed images
Diffstat (limited to 'src/winwidget.h')
-rw-r--r--src/winwidget.h2
1 files changed, 1 insertions, 1 deletions
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;