From 0da6b6d254be180d921d07996289389bea13fc4b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 22 Apr 2010 14:55:45 +0200 Subject: Fix zoom mode once and for all[tm] --- src/winwidget.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/winwidget.h') diff --git a/src/winwidget.h b/src/winwidget.h index 8f03323..137ceda 100644 --- a/src/winwidget.h +++ b/src/winwidget.h @@ -101,10 +101,6 @@ struct __winwidget { int im_x; int im_y; - /* same, as cache for zoom mode */ - int orig_im_x; - int orig_im_y; - /* From 0 (not visible) to 1.00 (actual size) * all the way up to INT_MAX (eww) */ @@ -113,6 +109,8 @@ struct __winwidget { int click_offset_x; int click_offset_y; + int im_click_offset_x; + int im_click_offset_y; unsigned char has_rotated; }; -- cgit v1.2.3