summaryrefslogtreecommitdiff
path: root/desktop/browser_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser_private.h')
-rw-r--r--desktop/browser_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/browser_private.h b/desktop/browser_private.h
index 91372acc3..d008d887a 100644
--- a/desktop/browser_private.h
+++ b/desktop/browser_private.h
@@ -110,6 +110,10 @@ struct browser_window {
struct scrollbar *scroll_x; /**< Horizontal scroll. */
struct scrollbar *scroll_y; /**< Vertical scroll. */
+
+ /** previous scroll offsets */
+ int prev_scroll_x;
+ int prev_scroll_y;
/** scale of window contents */
float scale;