diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-03 10:49:07 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-03 14:29:05 +0100 |
commit | 0ebfff259fa4ec6aaf5e97a213d5c65c24052e96 (patch) | |
tree | fbbd6f3398730bb9d05c31e56c01aed0318563c1 /frontends/amiga | |
parent | 0a8ed41a1ad470bb62c908d0dc6272c1c541a1f2 (diff) | |
download | netsurf-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.c | 4 |
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); |