diff --git a/src/desktop.h b/src/desktop.h
index 42e059db20a0e3bd1305f401d7aacc6d82de7c46..9f3d7752076f34d021df00c841538df9be4a5b52 100644 (file)
--- a/src/desktop.h
+++ b/src/desktop.h
void next_zoom();
bool scroll_to_point (NR::Point const *s_dt, gdouble autoscrollspeed = 0);
- void scroll_world (double dx, double dy);
- void scroll_world (NR::Point const scroll)
+ void scroll_world (double dx, double dy, bool is_scrolling = false);
+ void scroll_world (NR::Point const scroll, bool is_scrolling = false)
{
using NR::X;
- using NR::Y;
- scroll_world(scroll[X], scroll[Y]);
+ using NR::Y;
+ scroll_world(scroll[X], scroll[Y], is_scrolling);
}
void getWindowGeometry (gint &x, gint &y, gint &w, gint &h);