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/beos | |
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/beos')
-rw-r--r-- | frontends/beos/window.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp index 020c86feb..dda255670 100644 --- a/frontends/beos/window.cpp +++ b/frontends/beos/window.cpp @@ -518,9 +518,10 @@ void nsbeos_dispatch_event(BMessage *message) if (gui->mouse.state & BROWSER_MOUSE_MOD_2 && !ctrl) gui->mouse.state ^= BROWSER_MOUSE_MOD_2; - browser_window_mouse_track(gui->bw, (browser_mouse_state)gui->mouse.state, - (int)(where.x / gui->scale), - (int)(where.y / gui->scale)); + browser_window_mouse_track(gui->bw, + (browser_mouse_state)gui->mouse.state, + (int)(where.x), + (int)(where.y)); gui->last_x = (int)where.x; gui->last_y = (int)where.y; |