summaryrefslogtreecommitdiff
path: root/frontends/amiga
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-03 10:49:07 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-03 14:29:05 +0100
commit0ebfff259fa4ec6aaf5e97a213d5c65c24052e96 (patch)
treefbbd6f3398730bb9d05c31e56c01aed0318563c1 /frontends/amiga
parent0a8ed41a1ad470bb62c908d0dc6272c1c541a1f2 (diff)
downloadnetsurf-0ebfff259fa4ec6aaf5e97a213d5c65c24052e96.tar.gz
netsurf-0ebfff259fa4ec6aaf5e97a213d5c65c24052e96.tar.bz2
change browser_window_mouse_track to use unscaled coordinates
Diffstat (limited to 'frontends/amiga')
-rw-r--r--frontends/amiga/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 59b621060..916851846 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -2438,8 +2438,8 @@ static BOOL ami_gui_event(void *w)
break;
}
- x = (ULONG)((gwin->win->MouseX - bbox->Left) / gwin->gw->scale);
- y = (ULONG)((gwin->win->MouseY - bbox->Top) / gwin->gw->scale);
+ x = (ULONG)((gwin->win->MouseX - bbox->Left));
+ y = (ULONG)((gwin->win->MouseY - bbox->Top));
ami_get_hscroll_pos(gwin, (ULONG *)&xs);
ami_get_vscroll_pos(gwin, (ULONG *)&ys);