summaryrefslogtreecommitdiff
path: root/src/winwidget.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-04-22 14:55:45 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-04-22 14:55:45 +0200
commit0da6b6d254be180d921d07996289389bea13fc4b (patch)
tree18a142e166aeec113dc975a576dfdf36f08ebafd /src/winwidget.h
parent9e0afdfee30fc32afaf03c9a44f2f05a7704f3ba (diff)
Fix zoom mode once and for all[tm]
Diffstat (limited to 'src/winwidget.h')
-rw-r--r--src/winwidget.h6
1 files changed, 2 insertions, 4 deletions
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;
};